threads / patch / 9693

patchcompletion: also complete git-log's --left-right and --cherry-pick option

Subject: [PATCH] completion: also complete git-log's --left-right and --cherry-pick option

## tl;dr

One message between Aug 29, 2007 and Aug 29, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johannes Schindelin· Aug 29, 2007, 14:15 UTC · lore

Both --left-right and --cherry-pick are particularly long to type, so help the user there.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 contrib/completion/git-completion.bash |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −0
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index a652c88..5ed1821 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -641,6 +641,7 @@ _git_log ()
 			--all-match
 			--pretty= --name-status --name-only --raw
 			--not --all
+			--left-right --cherry-pick
 			"
 		return
 		;;
-- 
1.5.3.rc7.2.g2d7f

← back to recent threads