This commit is contained in:
AJ ONeal 2019-09-03 15:47:15 +00:00
parent 35429455ee
commit a3fa1affb9
2 ha cambiato i file con 1 aggiunte e 1 eliminazioni

0
authorize-keys.sh Normal file → Executable file
Vedi File

Vedi File

@ -56,7 +56,7 @@ refs/heads/*)
# Ignore "fatal: You are on a branch yet to be born"
set +e
fi
git --work-tree="${my_work_tree}" --git-dir="." checkout -f >/dev/null
git --work-tree="${my_work_tree}" --git-dir="." checkout "${ref_name}" -f >/dev/null
my_changes=$(git --work-tree="${my_work_tree}" --git-dir="." diff --name-status HEAD $new_rev)
if [ -n "$(echo "$my_changes" | grep -e "^A")" ]; then
echo "$my_changes" | grep -e "^A" | cut -f 2 | \