aboutsummaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2008-10-26 23:07:24 +0100
committerJunio C Hamano <gitster@pobox.com>2008-10-26 22:10:28 -0700
commit94cc355287a7efc3eda76af6ae31f503a1ac098b (patch)
tree1e074ff609f880d031f25f5866dec1cad5eb6c3a /remote.c
parent108bebeab31881654b7b0f1b5b393a6655d74d3f (diff)
downloadgit-94cc355287a7efc3eda76af6ae31f503a1ac098b.tar.gz
git-94cc355287a7efc3eda76af6ae31f503a1ac098b.tar.xz
Fix mkpath abuse in dwim_ref and dwim_log of sha1_name.c
Otherwise the function sometimes fail to resolve obviously correct refnames, because the string data pointed to by "str" argument were reused. The change in dwim_log does not fix anything, just optimizes away strcpy code as the path can be created directly in the available buffer. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions