diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 10:25:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 10:25:20 +1300 |
commit | cfd5fc1168b45600e9b06424fed581ec91362ed2 (patch) | |
tree | d109dd66ea405354e1ba28a155fc0c2230819c02 | |
parent | Rename README.markdown to README.md (diff) | |
download | watch-vcs-tags-cfd5fc1168b45600e9b06424fed581ec91362ed2.tar.gz watch-vcs-tags-cfd5fc1168b45600e9b06424fed581ec91362ed2.zip |
Use full option names for git commands
-rwxr-xr-x | watch-git-tags | 4 |
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 |