5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 12:26:21 +00:00
panel/bin/modified_files

8 lines
191 B
Bash
Executable file

#!/bin/sh
set -e
CI_MERGE_REQUEST_DIFF_BASE_SHA="${CI_MERGE_REQUEST_DIFF_BASE_SHA:-origin/rails}"
git diff --name-status ${CI_MERGE_REQUEST_DIFF_BASE_SHA} \
| grep -v "^D" \
| cut -f 2