Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

Re: [PATCH 9/10] Allow completion of --committer and --author arguments to git log.

From: Junio C Hamano <hidden>
Date: 2016-08-11 19:34:37

"Shawn O. Pearce" [off-list ref] writes:
This is just a cute hack, but we can (easily) complete the parameter
to --author or --committer in bash by asking for all possible authors
or committers in this project from git log and offering them up as
valid choices.
Easily but slowly ;-).  Try this in the kernel repository

	git log --author=Andre<TAB>

and watch the paint dry.  You might want to have an extra shell
to run top before you hit the TAB key.

It indeed is cute, but I think most people would wonder if the
terminal went dead, especially without any progress indicators.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help