summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2019-12-19 21:28:26 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-19 13:45:47 -0800
commitc847dfafeee8b0fe3e053ac307de88e04d1ad072 (patch)
tree0e87a5f3e0b804c7f3c2aa9bbdeb4af485570bea /tag.h
parentdir: synchronize treat_leading_path() and read_directory_recursive() (diff)
downloadtgif-c847dfafeee8b0fe3e053ac307de88e04d1ad072.tar.xz
dir: consolidate similar code in treat_directory()
Both the DIR_SKIP_NESTED_GIT and DIR_NO_GITLINKS cases were checking for whether a path was actually a nonbare repository. That code could be shared, with just the result of how to act differing between the two cases. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions