diff options
author | Jeff King <peff@peff.net> | 2016-12-14 09:29:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-14 09:54:49 -0800 |
commit | 8fa2043293831402b84c3446efa62640c01c8121 (patch) | |
tree | d5c6affd0863cdc83deb6ce3aa17f1cd23375aff /copy.c | |
parent | Makefile: exclude test cruft from FIND_SOURCE_FILES (diff) | |
download | tgif-8fa2043293831402b84c3446efa62640c01c8121.tar.xz |
Makefile: match shell scripts in FIND_SOURCE_FILES
We feed FIND_SOURCE_FILES to ctags to help developers
navigate to particular functions, but we only feed C source
code. The same feature can be helpful when working with
shell scripts (especially the test suite). Modern versions
of ctags know how to parse shell scripts; we just need to
feed the filenames to it.
This patch specifically avoids including the individual test
scripts themselves. Those are unlikely to be of interest,
and there are a lot of them to process. It does pick up
test-lib.sh and test-lib-functions.sh.
Note that our negative pathspec already excludes the
individual scripts for the ls-files case, but we need to
loosen the `find` rule to match it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions