From: Michael Haggerty Date: Wed, 30 Oct 2013 05:33:12 +0000 (+0100) Subject: fetch: improve the error messages emitted for conflicting refspecs X-Git-Tag: v1.9-rc0~79^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f096e6e826678c29e4bfde4d9d1ae1df79074ce3?hp=f096e6e826678c29e4bfde4d9d1ae1df79074ce3 fetch: improve the error messages emitted for conflicting refspecs If we find two refspecs that want to update the same local reference, emit an error message that is more informative based on whether one of the conflicting refspecs is an opportunistic update during a fetch with explicit command-line refspecs. And especially, do not die if an opportunistic reference update conflicts with an express wish of the user; rather, just emit a warning and skip the opportunistic reference update. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---