aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwatch-git-tags4
1 files changed, 2 insertions, 2 deletions
diff --git a/watch-git-tags b/watch-git-tags
index 79e26d8..fd5b022 100755
--- a/watch-git-tags
+++ b/watch-git-tags
@@ -3,13 +3,13 @@ self=watch-git-tags
# List sorted local tags
lt() {
- git tag -l |
+ git tag --list |
LC_COLLATE=C sort
}
# List sorted remote tags
rt() {
- { git ls-remote -qt ||
+ { git ls-remote --quiet --tags ||
printf >&2 'Failed to retrieve tags for repository %s\n' "$PWD"
} | awk '!/\^\{\}$/{print substr($2,11)}' |
LC_COLLATE=C sort