Skip to content

Commit

Permalink
Merge branch 'se/tag'
Browse files Browse the repository at this point in the history
* se/tag:
  Strip useless "tags/" prefix from git-tag -l output
  • Loading branch information
Junio C Hamano committed May 16, 2006
2 parents 3aece89 + e6ebb8a commit 94cdb38
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions git-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94cdb38

Please sign in to comment.