diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-05-11 17:25:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 11:50:18 -0700 |
commit | 61da59699263afcbf8f1e3c66763237fe35ba670 (patch) | |
tree | 0a1996b70cf5e99645c95885e3afaa5aae6e0334 /test-mergesort.c | |
parent | struct nonmatching_ref_data: store a refname instead of a ref_entry (diff) | |
download | tgif-61da59699263afcbf8f1e3c66763237fe35ba670.tar.xz |
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 'test-mergesort.c')
0 files changed, 0 insertions, 0 deletions