aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-10-21 13:30:21 -0400
committerJunio C Hamano <gitster@pobox.com>2011-10-21 13:56:54 -0700
commit29eec71f21853f2428cdae83d6b04d4ae1084b7d (patch)
tree6a231aab2c269e4a8faa590de2202f1a81fc4f67 /tree.h
parent21e4631c076f4b7defcdbe3876873486352310f1 (diff)
downloadgit-29eec71f21853f2428cdae83d6b04d4ae1084b7d.tar.gz
git-29eec71f21853f2428cdae83d6b04d4ae1084b7d.tar.xz
completion: match ctags symbol names in grep patterns
A common thing to grep for is the name of a symbol. This patch teaches the completion for "git grep" to look in a 'tags' file, if present, to complete a pattern. For example, in git.git: $ make tags $ git grep get_sha1<Tab><Tab> get_sha1 get_sha1_oneline get_sha1_1 get_sha1_with_context get_sha1_basic get_sha1_with_context_1 get_sha1_hex get_sha1_with_mode get_sha1_hex_segment get_sha1_with_mode_1 get_sha1_mb Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.h')
0 files changed, 0 insertions, 0 deletions