{"thread":{"id":"1224","subject":"[PATCH] cat-file: be consistent in usage string and documentation.","startedAt":"2005-07-14T03:23:40Z","lastAt":"2005-07-14T03:23:40Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"6105","messageId":"7vvf3ekr43.fsf@assigned-by-dhcp.cox.net","threadId":"1224","inReplyTo":null,"subject":"[PATCH] cat-file: be consistent in usage string and documentation.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-07-14T03:23:40Z","receivedAt":"2005-07-14T03:23:40Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Now that we have something called tag object, and a notion of\n\"tags\" stored in .git/refs/tags/ directory, the word \"tagname\"\nhas become misleading in the usage string.  The documentation\nalready calls that <type>.\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n---\n\n cat-file.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n61a4ebfb09cee6955f80a863b9651204ba17117a\ndiff --git a/cat-file.c b/cat-file.c\n--- a/cat-file.c\n+++ b/cat-file.c\n@@ -13,7 +13,7 @@ int main(int argc, char **argv)\n \tunsigned long size;\n \n \tif (argc != 3 || get_sha1(argv[2], sha1))\n-\t\tusage(\"git-cat-file [-t | -s | tagname] <sha1>\");\n+\t\tusage(\"git-cat-file [-t | -s | <type>] <sha1>\");\n \n \tif (!strcmp(\"-t\", argv[1]) || !strcmp(\"-s\", argv[1])) {\n \t\tif (!sha1_object_info(sha1, type,\n"}]}