1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-07 07:50:11 +01:00

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