summaryrefslogtreecommitdiff
path: root/index-pack.c
diff options
context:
space:
mode:
authorTed Pavlic <ted@tedpavlic.com>2009-01-15 11:02:22 -0500
committerJunio C Hamano <gitster@pobox.com>2009-01-15 09:34:54 -0800
commit50e126e185c196b9b66dcdefb4b05f090d62dd4c (patch)
treea32ff197a2b8f56701eeff7c36a306594c6ce0b3 /index-pack.c
parent25a31f814016891c7728fdebca056ef47ca75547 (diff)
downloadgit-50e126e185c196b9b66dcdefb4b05f090d62dd4c.tar.gz
bash-completion: Try bash completions before simple filetype
When a git completion is not found, a bash shell should try bash-type completions first before going to standard filetype completions. This patch adds "-o bashdefault" to the completion line. If that option is not available, it uses the old method. This behavior was inspired by Mercurial's bash completion script. Signed-off-by: Ted Pavlic <ted@tedpavlic.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'index-pack.c')
0 files changed, 0 insertions, 0 deletions