Skip to contentSkip to conversation

Add findtags - reworked

PATCH New Martin Langhoff 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add findtags - reworked

A short perl script that will walk the tag refs, tag objects, and even commit objects in its quest to figure out whether the given SHA1 (for a commit or tree) was ever tagged.

This version is reworked incorporating sanity, feature and style fixes from Junio.

Usage: git-findtags.perl [ -t ] <commit-or-tree-sha1>

---

 Makefile          |    3 +-
 git-findtags.perl |   94 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+), 1 deletions(-)
 create mode 100755 git-findtags.perl

applies-to: ef9b5c2cb61cf509adf2f5ef37fa1db517291f48 342d4cd1c66d8e58e1ba2221366c9237f9197b03

Makefile +2 -1
index 8697d52..a5d9cd4 100644
@@ -93,7 +93,8 @@ SCRIPT_SH = \
 
 SCRIPT_PERL = \
 	git-archimport.perl git-cvsimport.perl git-relink.perl \
-	git-rename.perl git-shortlog.perl git-fmt-merge-msg.perl
+	git-rename.perl git-shortlog.perl git-fmt-merge-msg.perl \
+	git-findtags.perl
 
 SCRIPT_PYTHON = \
 	git-merge-recursive.py
git-findtags.perl new file +94 -0

94 lines not on this page · raw message

---
0.99.8.GIT