completion: offer ctags symbol names for 'git log -S', '-G' and '-L:'
commit41d2716cdc9179c5faa39d3fc05edf1e8bfd42cf
authorSZEDER Gábor <szeder.dev@gmail.com>
Thu, 23 Mar 2017 15:38:39 +0000 (23 16:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Mar 2017 20:31:24 +0000 (23 13:31 -0700)
tree4de7b6bda02637bbfb7f0367c3e5360f49cde78d
parent2f779f91764cb79303d8166b0df7049045e232ac
completion: offer ctags symbol names for 'git log -S', '-G' and '-L:'

Just like in the case of search patterns for 'git grep', see 29eec71f2
(completion: match ctags symbol names in grep patterns, 2011-10-21)),
a common thing to look for using 'git log -S', '-G' and '-L:' is the
name of a symbol.

Teach the completion for 'git log' to offer ctags symbol names after
these options, both in stuck and in unstuck forms.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash