mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Don't git reset if nothing is to be done
This commit is contained in:
parent
898e4485c2
commit
517ce3a274
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ while read line; do
|
||||||
fi
|
fi
|
||||||
done < <(git status --porcelain)
|
done < <(git status --porcelain)
|
||||||
|
|
||||||
|
[[ -z $commands ]] && exit 0
|
||||||
|
|
||||||
git reset >/dev/null
|
git reset >/dev/null
|
||||||
for cmd in "${commands[@]}"; do
|
for cmd in "${commands[@]}"; do
|
||||||
eval "$cmd"
|
eval "$cmd"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue