summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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