summaryrefslogtreecommitdiff
path: root/t/t4002-diff-basic.sh
diff options
context:
space:
mode:
authorLibravatar Ted Pavlic <ted@tedpavlic.com>2009-01-15 11:02:22 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-15 09:34:54 -0800
commit50e126e185c196b9b66dcdefb4b05f090d62dd4c (patch)
treea32ff197a2b8f56701eeff7c36a306594c6ce0b3 /t/t4002-diff-basic.sh
parentbash-completion: Support running when set -u is enabled (diff)
downloadtgif-50e126e185c196b9b66dcdefb4b05f090d62dd4c.tar.xz
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 't/t4002-diff-basic.sh')
0 files changed, 0 insertions, 0 deletions