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

[PATCH] completion: --no-abbrev-commit for git-log and git-show

From
MSMichael Schubert <mschub@elegosoft.com>
Date
Feb 13, 2012, 16:57 UTC
Message-ID
<4F39410E.3060708@elegosoft.com>
Signed-off-by: Michael Schubert <mschub@elegosoft.com>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index d7367e9..22d7018 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1587,7 +1587,7 @@ _git_log ()
 			$__git_log_gitk_options
 			--root --topo-order --date-order --reverse
 			--follow --full-diff
-			--abbrev-commit --abbrev=
+			--abbrev-commit --no-abbrev-commit --abbrev=
 			--relative-date --date=
 			--pretty= --format= --oneline
 			--cherry-pick
@@ -2384,7 +2384,7 @@ _git_show ()
 		return
 		;;
 	--*)
-		__gitcomp "--pretty= --format= --abbrev-commit --oneline
+		__gitcomp "--pretty= --format= --abbrev-commit --no-abbrev-commit --online
 			$__git_diff_common_options
 			"
 		return
-- 
1.7.9.324.g3d1db
Message 1 of 1 in “completion: --no-abbrev-commit for git-log and git-show”
  1. completion: --no-abbrev-commit for git-log and git-showMichael Schubert, Feb 13, 2012

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.