summaryrefslogtreecommitdiff
path: root/t/t5515/refs.br-unconfig_.._.git_one
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-08-09 17:54:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-09 10:21:45 -0700
commit881529c84656e7ff41379c0684df0ff9a796d444 (patch)
treedfcb91dad1a4d2e1b918c83bcd02f4f76b46223b /t/t5515/refs.br-unconfig_.._.git_one
parentGit 2.12.3 (diff)
downloadtgif-881529c84656e7ff41379c0684df0ff9a796d444.tar.xz
apply: remove prefix_length member from apply_state
Use a NULL-and-NUL check to see if we have a prefix and consistently use C string functions on it instead of storing its length in a member of struct apply_state. This avoids strlen() calls and simplifies the code. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-unconfig_.._.git_one')
0 files changed, 0 insertions, 0 deletions