commit | 1b1b7b235b040f27952d48ab8811c958a1f6d052 | [log] [tgz] |
---|---|---|
author | Tay Ray Chuan <rctay89@gmail.com> | Sat Jun 06 16:43:37 2009 +0800 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Jun 06 10:56:27 2009 -0700 |
tree | 8a52bd8bb8f65fae50e0d43013c2218f7fd25249 | |
parent | 20cfb3aa710d302829a776d7fbad2b89f71f15b6 [diff] |
http-push: do not SEGV after fetching a bad pack idx file In a70c232 ("http-fetch: do not SEGV after fetching a bad pack idx file"), changes were made to the setup_index method in http-fetch.c (known in its present form as http-walker.c after 30ae764 ("Modularize commit-walker")). Since http-push.c has similar similar code for processing index files, these changes should apply to http-push.c's implementation of setup_index as well. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>