{"thread":{"id":"3380","subject":"[PATCH] Document --short and --git-dir in git-rev-parse(1)","startedAt":"2006-02-18T01:11:36Z","lastAt":"2006-02-18T01:11:36Z","messageCount":1,"participants":["Jonas Fonseca"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"16352","messageId":"20060218011136.GC2562@diku.dk","threadId":"3380","inReplyTo":null,"subject":"[PATCH] Document --short and --git-dir in git-rev-parse(1)","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2006-02-18T01:11:36Z","receivedAt":"2006-02-18T01:11:36Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Signed-off-by: Jonas Fonseca <fonseca@diku.dk>\n\n---\ncommit 013b99654ee464856d266a72f0203d0fee2b0d11\ntree 3c961d6ebb8b9805ee3950ec081679de15f5a9ba\nparent 16e2efc524d181cf46dcb252532139a0aff4a28f\nauthor Jonas Fonseca <fonseca@diku.dk> Sat, 18 Feb 2006 02:05:11 +0100\ncommitter Jonas Fonseca <fonseca@antimatter.localdomain> Sat, 18 Feb 2006 02:05:11 +0100\n\n Documentation/git-rev-parse.txt |    8 ++++++++\n 1 files changed, 8 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt\nindex d638bfc..1662e06 100644\n--- a/Documentation/git-rev-parse.txt\n+++ b/Documentation/git-rev-parse.txt\n@@ -77,6 +77,14 @@ OPTIONS\n \tpath of the top-level directory relative to the current\n \tdirectory (typically a sequence of \"../\", or an empty string).\n \n+--git-dir::\n+\tShow `$GIT_DIR` if defined else show the path to the .git directory.\n+\n+--short, short=number::\n+\tInstead of outputting the full SHA1 values of object names try to\n+\tabbriviate them to a shorter unique name. When no length is specified\n+\t7 is used. The minimum length is 4.\n+\n --since=datestring, --after=datestring::\n \tParses the date string, and outputs corresponding\n \t--max-age= parameter for git-rev-list command.\n\n-- \nJonas Fonseca\n"}]}