fetch-pack: move code to report unmatched refs to a function
authorMatt McCutchen <matt@mattmccutchen.net>
Wed, 22 Feb 2017 16:01:22 +0000 (11:01 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Mar 2017 19:12:53 +0000 (11:12 -0800)
commite860d96bf89fca63f664eb2d507f2f14537a9008
treed949af9bf5302164996a363d2cb400586fa542e1
parent3b9e3c2cede15057af3ff8076c45ad5f33829436
fetch-pack: move code to report unmatched refs to a function

Prepare to reuse this code in transport.c for "git fetch".

While we're here, internationalize the existing error message.

Signed-off-by: Matt McCutchen <matt@mattmccutchen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c
fetch-pack.c
fetch-pack.h
t/t5500-fetch-pack.sh