summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-08-06 23:38:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-07 17:32:11 (GMT)
commitdff2813391d720e1739d1d83a84ba38b1d4ad615 (patch)
tree3a6a7d85a1d928037a79a43fef8b6402d193a011 /strbuf.c
parent80f4cd804628f59e679b6107a63b05b898c7221e (diff)
downloadgit-dff2813391d720e1739d1d83a84ba38b1d4ad615.zip
git-dff2813391d720e1739d1d83a84ba38b1d4ad615.tar.gz
git-dff2813391d720e1739d1d83a84ba38b1d4ad615.tar.bz2
tests: don't give unportable ">" to "test" built-in, use -gt
Change an argument to test_line_count (which'll ultimately be turned into a "test" expression) to use "-gt" instead of ">" for an arithmetic test. This broken on e.g. OpenBSD as of v2.13.0 with my commit ac3f5a3468 ("ref-filter: add --no-contains option to tag/branch/for-each-ref", 2017-03-24). Downstream just worked around it by patching git and didn't tell us about it, I discovered this when reading various Git packaging implementations: https://github.com/openbsd/ports/commit/7e48bf88a20 Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions