Browse Source

Merge branch 'se/tag'

* se/tag:
  Strip useless "tags/" prefix from git-tag -l output
maint
Junio C Hamano 19 years ago
parent
commit
94cdb38258
  1. 8
      git-tag.sh

8
git-tag.sh

@ -25,14 +25,12 @@ do @@ -25,14 +25,12 @@ do
force=1
;;
-l)
cd "$GIT_DIR/refs" &&
case "$#" in
1)
find tags -type f -print ;;
*)
shift
find tags -type f -print | grep "$@" ;;
set x . ;;
esac
shift
git rev-parse --symbolic --tags | sort | grep "$@"
exit $?
;;
-m)

Loading…
Cancel
Save