summaryrefslogtreecommitdiff
path: root/t/t5405-send-pack-rewind.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08send-pack: segfault fix on forced pushLibravatar Junio C Hamano1-0/+42
When pushing to overwrite a ref that points at a commit we do not even have, the recent "terse push" patch tried to get a unique abbreviation for the non-existent (from our point of view) object, which resulted in strcpy(buf, NULL) and segfaulted. Signed-off-by: Junio C Hamano <gitster@pobox.com>