diff options
author | René Scharfe <l.s.r@web.de> | 2020-02-04 22:20:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-05 10:24:15 -0800 |
commit | d689d6d82fae2f4f948bf1c232cb1fe158e3f319 (patch) | |
tree | f2187f4f2708db210664dc74ac9fb79c3b4bcfa4 /t/t9146-git-svn-empty-dirs.sh | |
parent | name-rev: don't leak path copy in name_ref() (diff) | |
download | tgif-d689d6d82fae2f4f948bf1c232cb1fe158e3f319.tar.xz |
name-rev: don't _peek() in create_or_update_name()
Look up the commit slab slot for the commit once using
commit_rev_name_at() and populate it in case it is empty, instead of
checking for emptiness in a separate step using commit_rev_name_peek()
via get_commit_rev_name().
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9146-git-svn-empty-dirs.sh')
0 files changed, 0 insertions, 0 deletions