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 /builtin/commit.c | |
parent | 521331cc9f71515e214d0821a35cafd5c03eaad3 (diff) | |
download | git-61da59699263afcbf8f1e3c66763237fe35ba670.tar.gz |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions