completion: support excluding refs
authorChris Packham <judge.packham@gmail.com>
Wed, 24 Aug 2016 08:41:52 +0000 (20:41 +1200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Aug 2016 16:51:05 +0000 (09:51 -0700)
commit49416ad22aa917178f306859a5bab60311166a9f
tree9cc948f0022e7716ae9f169e998b3f335d3b634c
parente0c1ceafc5bece92d35773a75fff59497e1d9bd5
completion: support excluding refs

Allow completion of refs with a ^ prefix. This allows completion of
commands like 'git log HEAD ^origin/master'.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash