From: Junio C Hamano Date: Mon, 17 Sep 2012 22:58:49 +0000 (-0700) Subject: Merge branch 'mh/fetch-filter-refs' X-Git-Tag: v1.8.0-rc0~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=26f4f2c74e2632b708ba3dd4ae2e69d359878ccd;p=git.git Merge branch 'mh/fetch-filter-refs' Code simplification and clarification. * mh/fetch-filter-refs: test-string-list.c: Fix some sparse warnings fetch-pack: eliminate spurious error messages cmd_fetch_pack(): simplify computation of return value fetch-pack: report missing refs even if no existing refs were received cmd_fetch_pack(): return early if finish_connect() fails filter_refs(): simplify logic filter_refs(): build refs list as we go filter_refs(): delete matched refs from sought list fetch_pack(): update sought->nr to reflect number of unique entries filter_refs(): do not check the same sought_pos twice Change fetch_pack() and friends to take string_list arguments fetch_pack(): reindent function decl and defn Rename static function fetch_pack() to http_fetch_pack() t5500: add tests of fetch-pack --all --depth=N $URL $REF t5500: add tests of error output for missing refs --- 26f4f2c74e2632b708ba3dd4ae2e69d359878ccd