summaryrefslogtreecommitdiff
path: root/t/t6000-rev-list-misc.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2019-07-01 23:20:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-01 14:33:14 -0700
commitf463beb805638830e2a6b16359f94d8afca289ee (patch)
tree2a1cd02c7c9e9ede916018113cc38174f226c8f1 /t/t6000-rev-list-misc.sh
parentt4210: skip more command-line encoding tests on MinGW (diff)
downloadtgif-f463beb805638830e2a6b16359f94d8afca289ee.tar.xz
grep: inline the return value of a function call used only once
Since e944d9d932 ("grep: rewrite an if/else condition to avoid duplicate expression", 2016-06-25) the "ascii_only" variable has only been used once in compile_regexp(), let's just inline it there. This makes the code easier to read, and might make it marginally faster depending on compiler optimizations. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6000-rev-list-misc.sh')
0 files changed, 0 insertions, 0 deletions