aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwatch-git-tags6
1 files changed, 6 insertions, 0 deletions
diff --git a/watch-git-tags b/watch-git-tags
index f73994a..af60664 100755
--- a/watch-git-tags
+++ b/watch-git-tags
@@ -53,6 +53,12 @@ for repo ; do (
# Write new tags to file
LC_COLLATE=C comm -13 -- [ab] > new
+ # Attempt to quietly fetch new tags so that we don't notify about the same
+ # ones next time
+ if [ -s new ] ; then
+ git fetch --quiet --tags
+ fi
+
) & done
# Wait for each of those to finish