bugfixes
This commit is contained in:
parent
35429455ee
commit
a3fa1affb9
|
@ -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 | \
|
||||
|
|
Loading…
Reference in New Issue