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

Re: [PATCH 3/6] completion: add common options for blame

From: Thomas Rast <hidden>
Date: 2016-06-15 22:57:32

Ramkumar Ramachandra [off-list ref] writes:
Add support for completing 'git blame'.  List only the common short
options.
[...]
+_git_blame ()
+{
+	__git_has_doubledash && return
+
+	case "$cur" in
+	-*)
+		__gitcomp "-M -C -L -s -w"
+	esac
+	__git_complete_revlist_file
+}
Is this the first time we introduce completion (I guess you could call
it "help") for short options?  I only did a quick search for /-. -/ but
it certainly seems that way.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help