summaryrefslogtreecommitdiff
path: root/t/t4111-apply-subdir.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-02-25 20:27:40 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-27 11:20:18 -0800
commitb072504ce17564bcfd8cb82d6e3948720626065d (patch)
treec777abf13c9bc8ae1b28bbea18264c42f8abf6b0 /t/t4111-apply-subdir.sh
parentcommit: be more precise when searching for headers (diff)
downloadtgif-b072504ce17564bcfd8cb82d6e3948720626065d.tar.xz
commit: don't check for space twice when looking for header
Both standard_header_field() and excluded_header_field() check if there's a space after the buffer that's handed to them. We already check in the caller if that space is present. Don't bother calling the functions if it's missing, as they are guaranteed to return 0 in that case, and remove the now redundant checks from them. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4111-apply-subdir.sh')
0 files changed, 0 insertions, 0 deletions