git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 3/3] Documentation: add --abbrev option to the man page of git blame

From
Namhyung Kim <namhyung@gmail.com>
Date
Apr 6, 2011, 02:20 UTC
Message-ID
<1302056452-5387-3-git-send-email-namhyung@gmail.com>
In-Reply-To
<1302056452-5387-1-git-send-email-namhyung@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 Documentation/git-blame.txt |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt
index c4d1ff8..27ce6bd 100644
--- a/Documentation/git-blame.txt
+++ b/Documentation/git-blame.txt
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git blame' [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-e] [-p] [-w] [--incremental] [-L n,m]
-	    [-S <revs-file>] [-M] [-C] [-C] [-C] [--since=<date>]
+	    [-S <revs-file>] [-M] [-C] [-C] [-C] [--since=<date>] [--abbrev=<n>]
 	    [<rev> | --contents <file> | --reverse <rev>] [--] <file>
 
 DESCRIPTION
@@ -73,6 +73,12 @@ include::blame-options.txt[]
 	Ignore whitespace when comparing the parent's version and
 	the child's to find where the lines came from.
 
+--abbrev=<n>::
+	Instead of using the default 7+1 hexadecimal digits as the
+	abbreviated object name, use <n>+1 digits. Note that git
+	will add 1 for the boundary commit to be distinguished (with
+	a caret at the beginning).
+
 
 THE PORCELAIN FORMAT
 --------------------
-- 
1.7.4
Previous: Namhyung KimNext: Thiago Farina
Message 3 of 6 in “blame: add --abbrev command line option”
  1. 1/3 blame: add --abbrev command line optionNamhyung Kim, Apr 6, 2011
  2. 2/3 blame: honor core.abbrevNamhyung Kim, Apr 6, 2011
  3. 3/3 Documentation: add --abbrev option to the man page of git blameNamhyung Kim, Apr 6, 2011
  4. Thiago FarinaApr 6, 2011
  5. Junio C HamanoApr 6, 2011
  6. Namhyung KimApr 6, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.