Code

bash: Support unique completion on git-config.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 4 Feb 2007 07:38:37 +0000 (02:38 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Feb 2007 08:18:41 +0000 (00:18 -0800)
commit78d4d6a2815f20607336fcb238ba23efc00e1b0a
tree8f26311499563ab9a269ab1c15f722846086ab71
parenta925c6f165a3374ff4a69d7c991ead2d9fa90b98
bash: Support unique completion on git-config.

In many cases we know a completion will be unique, but we've disabled
bash's automatic space addition (-o nospace) so we need to do it
ourselves when necessary.

This change adds additional support for new configuration options
added in 1.5.0, as well as some extended completion support for
the color.* family of options.

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