summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b011b2)
raw | patch | inline | side by side (parent: 9b011b2)
author | Junio C Hamano <junkio@cox.net> | |
Thu, 14 Jul 2005 03:23:40 +0000 (20:23 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Thu, 14 Jul 2005 03:42:26 +0000 (20:42 -0700) |
Now that we have something called tag object, and a notion of
"tags" stored in .git/refs/tags/ directory, the word "tagname"
has become misleading in the usage string. The documentation
already calls that <type>.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
"tags" stored in .git/refs/tags/ directory, the word "tagname"
has become misleading in the usage string. The documentation
already calls that <type>.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cat-file.c | patch | blob | history |
diff --git a/cat-file.c b/cat-file.c
index fa0bb722a2455fd4274f61e800cd9f5a764dda1e..ef58970d82ae9d6e62ec43c496ac1677aedeee3f 100644 (file)
--- a/cat-file.c
+++ b/cat-file.c
unsigned long size;
if (argc != 3 || get_sha1(argv[2], sha1))
- usage("git-cat-file [-t | -s | tagname] <sha1>");
+ usage("git-cat-file [-t | -s | <type>] <sha1>");
if (!strcmp("-t", argv[1]) || !strcmp("-s", argv[1])) {
if (!sha1_object_info(sha1, type,