{"thread":{"id":"1738","subject":"Subject: [PATCH] Update documentation for git-get-tar-commit-id and add a copyright notice.","startedAt":"2005-09-06T19:21:16Z","lastAt":"2005-09-07T06:24:35Z","messageCount":2,"participants":["Rene Scharfe","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"8135","messageId":"11260344762228-git-send-email-rene.scharfe@lsrfire.ath.cx","threadId":"1738","inReplyTo":null,"subject":"Subject: [PATCH] Update documentation for git-get-tar-commit-id and add a copyright notice.","fromName":"Rene Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2005-09-06T19:21:16Z","receivedAt":"2005-09-06T19:21:16Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>\n\n---\n\n Documentation/git-get-tar-commit-id.txt |   23 +++++++++++------------\n get-tar-commit-id.c                     |    3 +++\n 2 files changed, 14 insertions(+), 12 deletions(-)\n\n5144a0393d17d721c83a42ce743d2ce46909f222\ndiff --git a/Documentation/git-get-tar-commit-id.txt b/Documentation/git-get-tar-commit-id.txt\n--- a/Documentation/git-get-tar-commit-id.txt\n+++ b/Documentation/git-get-tar-commit-id.txt\n@@ -3,25 +3,24 @@ git-get-tar-commit-id(1)\n \n NAME\n ----\n-git-get-tar-commit-id - Some git command not yet documented.\n+git-get-tar-commit-id - Extract commit ID from an archive created using git-tar-tree.\n \n \n SYNOPSIS\n --------\n-'git-get-tar-commit-id' [ --option ] <args>...\n+'git-get-tar-commit-id' < <tarfile>\n+\n \n DESCRIPTION\n -----------\n-Does something not yet documented.\n-\n-\n-OPTIONS\n--------\n---option::\n-\tSome option not yet documented.\n-\n-<args>...::\n-\tSome argument not yet documented.\n+Acts as a filter, extracting the commit ID stored in archives created by\n+git-tar-tree.  It reads only the first 1024 bytes of input, thus its\n+runtime is not influenced by the size of <tarfile> very much.\n+\n+If no commit ID is found, git-get-tar-commit-id quietly exists with a\n+return code of 1.  This can happen if <tarfile> had not been created\n+using git-tar-tree or if the first parameter of git-tar-tree had been\n+a tree ID instead of a commit ID or tag.\n \n \n Author\ndiff --git a/get-tar-commit-id.c b/get-tar-commit-id.c\n--- a/get-tar-commit-id.c\n+++ b/get-tar-commit-id.c\n@@ -1,3 +1,6 @@\n+/*\n+ * Copyright (C) 2005 Rene Scharfe\n+ */\n #include <stdio.h>\n #include <string.h>\n #include <unistd.h>\n"},{"id":"8161","messageId":"7vzmqp9yzg.fsf@assigned-by-dhcp.cox.net","threadId":"1738","inReplyTo":"11260344762228-git-send-email-rene.scharfe@lsrfire.ath.cx","subject":"Re: Subject: [PATCH] Update documentation for git-get-tar-commit-id and add a copyright notice.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-09-07T06:24:35Z","receivedAt":"2005-09-07T06:24:35Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks, applied.\n"}]}