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

[PATCH 2/2] git-branch: document new --no-abbrev option

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Mar 3, 2007, 00:31 UTC
Message-ID
<11728818773390-git-send-email-julian@quantumfyre.co.uk>
In-Reply-To
<11728818771064-git-send-email-julian@quantumfyre.co.uk>
Add the new --no-abbrev option to the man page for the git-branch command.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
---
 Documentation/git-branch.txt |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index aa1fdd4..3ea3b80 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -8,7 +8,8 @@ git-branch - List, create, or delete branches
 SYNOPSIS
 --------
 [verse]
-'git-branch' [--color | --no-color] [-r | -a] [-v [--abbrev=<length>]]
+'git-branch' [--color | --no-color] [-r | -a]
+	   [-v [--abbrev=<length> | --no-abbrev]]
 'git-branch' [-l] [-f] <branchname> [<start-point>]
 'git-branch' (-m | -M) [<oldbranch>] <newbranch>
 'git-branch' (-d | -D) [-r] <branchname>...
@@ -80,6 +81,9 @@ OPTIONS
 	Alter minimum display length for sha1 in output listing,
 	default value is 7.
 
+--no-abbrev::
+	Display the full sha1s in output listing rather than abbreviating them.
+
 <branchname>::
 	The name of the branch to create or delete.
 	The new branch name must pass all checks defined by
-- 
1.5.0.2
Previous: Julian Phillips
Message 3 of 3 in “git-branch: improve command line handling of --abbrev=”
  1. 0/2 git-branch: improve command line handling of --abbrev=Julian Phillips, Mar 3, 2007
  2. 1/2 git-branch: improve abbreviation of sha1s in verbose modeJulian Phillips, Mar 3, 2007
  3. 2/2 git-branch: document new --no-abbrev optionJulian Phillips, Mar 3, 2007

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.