1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-06 19:10:12 +02: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 fi
done < <(git status --porcelain) done < <(git status --porcelain)
git reset
for cmd in "${commands[@]}"; do for cmd in "${commands[@]}"; do
git reset
eval "$cmd" eval "$cmd"
git reset
done done