summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar steering72532026-05-22 18:05:39 -0600
committerGravatar steering72532026-05-22 18:05:39 -0600
commit68e20daeb48c2f2aa78d8da3a09279c7cb549afe (patch)
tree4adbabf0d6856a7c2bcbb8555c21d989358e8af9
parentadd config setting to suppress notifications and limit notifications to last ... (diff)
no error when deleting a branch
-rwxr-xr-xupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/update b/update
index 7af934d..c1bf203 100755
--- a/update
+++ b/update
@@ -48,6 +48,8 @@ if [ "$suppress" != "true" ]; then
if ((16#$old == 0)); then
git log --no-show-signature --no-patch --pretty="tformat:$FORMAT" "$new" | head -9
+ elif ((16#$new == 0)); then
+ :
else
git log --no-show-signature --pretty="tformat:$FORMAT" "$old".."$new"
fi | while read line; do