mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-15 03:30:29 +03:00
Don't leave left-overs after an abort in the last fd-commit command
This commit is contained in:
parent
eb2d9326af
commit
1a76956f92
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ while read line; do
|
|||
fi
|
||||
done < <(git status --porcelain)
|
||||
|
||||
for cmd in "${commands[@]}"; do
|
||||
git reset
|
||||
for cmd in "${commands[@]}"; do
|
||||
eval "$cmd"
|
||||
git reset
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue