From cfd5fc1168b45600e9b06424fed581ec91362ed2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Nov 2018 10:25:20 +1300 Subject: Use full option names for git commands --- watch-git-tags | 4 ++-- 1 file 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 -- cgit v1.2.3