aboutsummaryrefslogtreecommitdiff
path: root/watch-git-tags
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-30 10:25:41 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 10:25:41 +1300
commit0532d2aaa50b785bf359cece568fcca16cb35c5d (patch)
tree1d0ed690082de351b93bddce53d8a0707e827961 /watch-git-tags
parentUse full option names for git commands (diff)
downloadwatch-vcs-tags-0532d2aaa50b785bf359cece568fcca16cb35c5d.tar.gz
watch-vcs-tags-0532d2aaa50b785bf359cece568fcca16cb35c5d.zip
Exclude peeled tags and pseudorefs
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