]> git.ipfire.org Git - thirdparty/git.git/commit - contrib/completion/git-completion.bash
Teach bash about git log/show/whatchanged options.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 27 Nov 2006 08:42:18 +0000 (03:42 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 27 Nov 2006 20:11:12 +0000 (12:11 -0800)
commit6e31b866e4c8e6fc432e6087d56be73c08cf0f83
tree387439986ecb2cb523d9050d9783629a1288ecaf
parent61d926a3cdb8f03147580de53e448fc22370cbb1
Teach bash about git log/show/whatchanged options.

Typing out options to git log/show/whatchanged can take a while, but
we can easily complete them with bash.  So list the most common ones,
especially --pretty=online|short|medium|... so that users don't need
to type everything out.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/completion/git-completion.bash