This commit is contained in:
AJ ONeal 2019-09-03 15:47:15 +00:00
父節點 35429455ee
當前提交 a3fa1affb9
共有 2 個文件被更改,包括 1 次插入1 次删除

0
authorize-keys.sh Normal file → Executable 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 | \