summaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-05-11 17:25:10 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-11 11:50:18 -0700
commit61da59699263afcbf8f1e3c66763237fe35ba670 (patch)
tree0a1996b70cf5e99645c95885e3afaa5aae6e0334 /t/t4018/cpp-function-returning-pointer
parent521331cc9f71515e214d0821a35cafd5c03eaad3 (diff)
downloadgit-61da59699263afcbf8f1e3c66763237fe35ba670.tar.gz
git-61da59699263afcbf8f1e3c66763237fe35ba670.zip
is_refname_available(): use dirname in first loop
In the first loop (over prefixes of refname), use dirname to keep track of the current prefix. This is not an improvement in itself, but in a moment we will start using dirname for a role where a NUL-terminated string is needed. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions