This commit is contained in:
AJ ONeal 2019-09-03 15:47:15 +00:00
parent 35429455ee
commit a3fa1affb9
2 changed files with 1 additions and 1 deletions

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

View File

@ -56,7 +56,7 @@ refs/heads/*)
# Ignore "fatal: You are on a branch yet to be born" # Ignore "fatal: You are on a branch yet to be born"
set +e set +e
fi 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) 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 if [ -n "$(echo "$my_changes" | grep -e "^A")" ]; then
echo "$my_changes" | grep -e "^A" | cut -f 2 | \ echo "$my_changes" | grep -e "^A" | cut -f 2 | \