Re: [PATCH v2] fetch: don't try to update unfetched tracking refs

2013-05-27 Thread Jeff King
On Mon, May 27, 2013 at 05:33:09PM +0100, John Keeping wrote: > > Ah, I see. It is not "the refspec on the command-line does not match a > > configured refspec", but rather "there exists a configured non-pattern > > refspec that does not match what was on the command-line (even if what > > was on

[PATCH v2] fetch: don't try to update unfetched tracking refs

2013-05-27 Thread John Keeping
Since commit f269048 (fetch: opportunistically update tracking refs, 2013-05-11) we update tracking refs opportunistically when fetching remote branches. However, if there is a configured non-pattern refspec that does not match any of the refspecs given on the command line then a fatal error occur