summaryrefslogtreecommitdiffstats
path: root/ppc/sha1.c
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2007-12-14 22:18:01 +0100
committerJunio C Hamano <gitster@pobox.com>2007-12-15 06:31:59 +0100
commita096bb18af5b7214d9b87b64ae733d106eb96544 (patch)
treeabb43fcc181397e9db77ff0d5fece1b23366d705 /ppc/sha1.c
parentFix some more memory leaks in http-push.c (diff)
downloadgit-a096bb18af5b7214d9b87b64ae733d106eb96544.tar.xz
git-a096bb18af5b7214d9b87b64ae733d106eb96544.zip
Fix random sha1 in error message in http-fetch and http-push
When a downloaded ref doesn't contain a sha1, the error message displays a random sha1 because of uninitialized memory. This happens when cloning a repository that is already a clone of another one, in which case refs/remotes/origin/HEAD is a symref. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ppc/sha1.c')
0 files changed, 0 insertions, 0 deletions