5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 19:46:23 +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