Browse Source

Merge branch 'se/tag' into next

* se/tag:
  Strip useless "tags/" prefix from git-tag -l output
maint
Junio C Hamano 19 years ago
parent
commit
cee1b9549b
  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