diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 10:25:41 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 10:25:41 +1300 |
commit | 0532d2aaa50b785bf359cece568fcca16cb35c5d (patch) | |
tree | 1d0ed690082de351b93bddce53d8a0707e827961 /watch-git-tags | |
parent | Use full option names for git commands (diff) | |
download | watch-vcs-tags-0532d2aaa50b785bf359cece568fcca16cb35c5d.tar.gz watch-vcs-tags-0532d2aaa50b785bf359cece568fcca16cb35c5d.zip |
Exclude peeled tags and pseudorefs
Diffstat (limited to 'watch-git-tags')
-rwxr-xr-x | watch-git-tags | 2 |
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 |