summaryrefslogtreecommitdiff
path: root/compat/regex/regex_internal.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-03-09 08:28:48 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-10 11:51:30 -0800
commita0262c51d0f36678a8c6143a9c73d2058fd6ad57 (patch)
tree6e7b19ebe8e3b39fd0c25df4a4b1b750c5ac8eba /compat/regex/regex_internal.h
parentref-filter: move ref_cbdata definition into ref-filter.c (diff)
downloadtgif-a0262c51d0f36678a8c6143a9c73d2058fd6ad57.tar.xz
ref-filter: use contains_result enum consistently
Commit cbc60b672 (git tag --contains: avoid stack overflow, 2014-04-24) adapted the -1/0/1 contains status into a tri-state enum. However, some of the code still used the numeric values, or assumed that no/yes correspond to C's boolean true/false. Let's switch to using the symbolic values everywhere, which will make it easier to change them. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex_internal.h')
0 files changed, 0 insertions, 0 deletions