Thread (27 messages) flat view 27 messages, 4 authors, 2016-06-15
DORMANTno replies

[PATCH v2] bash: Add more command line option completions for 'git log'

From: Teemu Likonen <hidden>
Date: 2016-06-15 22:44:27
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Teemu Likonen <redacted>
---

Hmm, why not add some more useful long options? There are plenty of them of
course but I feel these are one of the most common.


 contrib/completion/git-completion.bash |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 4d81963..02a5fd3 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -757,6 +757,8 @@ _git_log ()
 			--pretty= --name-status --name-only --raw
 			--not --all
 			--left-right --cherry-pick
+			--graph --stat --numstat --shortstat
+			--decorate --diff-filter=
 			"
 		return
 		;;
-- 
1.5.5.rc3.24.g129ac
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help