Skip to contentSkip to conversation

completion: --no-abbrev-commit for git-log and git-show

PATCH New Michael Schubert 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 completion: --no-abbrev-commit for git-log and git-show

---
 contrib/completion/git-completion.bash |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
contrib/completion/git-completion.bash +2 -2
index d7367e9..22d7018 100755
@@ -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
Signature · 1 line
1.7.9.324.g3d1db