Re: [PATCH 9/10] Allow completion of --committer and --author arguments to git log.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 27, 2006, 20:20 UTC
- Message-ID
- <7vy7pwfxp8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061127084228.GI19745@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> 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.