]> git.ipfire.org Git - thirdparty/git.git/commit
dir: make the DO_MATCH_SUBMODULE code reusable for a non-submodule case
authorElijah Newren <newren@gmail.com>
Tue, 17 Sep 2019 16:34:57 +0000 (09:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Sep 2019 19:20:35 +0000 (12:20 -0700)
commita3d89d8f7681c61c7fe04a0c01c7310a375f3d0e
treefd6e9ee632008a84af9abf98e38256826203baa0
parent404ebceda01c5af68926c3ee78934cd95bda2602
dir: make the DO_MATCH_SUBMODULE code reusable for a non-submodule case

The specific checks done in match_pathspec_item for the DO_MATCH_SUBMODULE
case are useful for other cases which have nothing to do with submodules.
Rename this constant; a subsequent commit will make use of this change.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c