summaryrefslogtreecommitdiff
path: root/t/t5405-send-pack-rewind.sh
AgeCommit message (Collapse)Author
2007-11-08send-pack: segfault fix on forced pushJunio C Hamano
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>