path: root/Makefile
diff options
authorCarlos Rica <>2007-07-19 23:42:28 (GMT)
committerJunio C Hamano <>2007-07-20 08:27:25 (GMT)
commit62e09ce998dd7f6b844deb650101c743a5c4ce50 (patch)
tree52c07796bf8f749e5270f2b421fc74daaed3c492 /Makefile
parent69a9b41c15f25e1e91df5d9c4d5e3d56706f8f0e (diff)
Make git tag a builtin.
This replaces the script "" with "builtin-tag.c". The existing test suite for "git tag" guarantees the compatibility with the features provided by the script version. There are some minor changes in the behaviour of "git tag" here: "git tag -v" now can get more than one tag to verify, like "git tag -d" does, "git tag" with no arguments prints all tags, more like "git branch" does, and "git tag -n" also prints all tags with annotations (without needing -l). Tests and documentation were also updated to reflect these changes. The program is currently calling the script "git verify-tag" for verify. This can be changed porting it to C and calling its functions directly from builtin-tag.c. Signed-off-by: Carlos Rica <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Makefile')
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 73b487f..8db6646 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ SCRIPT_SH = \ \ \ \
- \
+ \ \ \ \
@@ -361,6 +361,7 @@ BUILTIN_OBJS = \
builtin-show-branch.o \
builtin-stripspace.o \
builtin-symbolic-ref.o \
+ builtin-tag.o \
builtin-tar-tree.o \
builtin-unpack-objects.o \
builtin-update-index.o \