Don't leave left-overs after an abort in the last fd-commit command

This commit is contained in:
Daniel Martí 2014-01-15 10:11:14 +01:00
parent eb2d9326af
commit 1a76956f92

View file

@ -82,7 +82,8 @@ while read line; do
fi
done < <(git status --porcelain)
git reset
for cmd in "${commands[@]}"; do
git reset
eval "$cmd"
git reset
done