aboutsummaryrefslogtreecommitdiff
path: root/watch-git-tags
diff options
context:
space:
mode:
Diffstat (limited to 'watch-git-tags')
-rwxr-xr-xwatch-git-tags2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-git-tags b/watch-git-tags
index fd5b022..8ccc884 100755
--- a/watch-git-tags
+++ b/watch-git-tags
@@ -9,7 +9,7 @@ lt() {
# List sorted remote tags
rt() {
- { git ls-remote --quiet --tags ||
+ { git ls-remote --quiet --refs --tags ||
printf >&2 'Failed to retrieve tags for repository %s\n' "$PWD"
} | awk '!/\^\{\}$/{print substr($2,11)}' |
LC_COLLATE=C sort