From: Jeff King Date: Mon, 31 Jan 2011 23:22:31 GMT Subject: Re: [1.8.0] make two-argument fetch update remote branches Message-ID: <20110131232231.GE14419@sigill.intra.peff.net> In-Reply-To: <201101312244.10047.trast@student.ethz.ch> On Mon, Jan 31, 2011 at 10:44:09PM +0100, Thomas Rast wrote: > Running "git fetch origin master" only updates FETCH_HEAD, not > origin/master, which turns out to be quite confusing for newcomers > especially after running 'git pull origin master'. > > Since the remote branches in some sense reflect the "last known state" > of the remote, it would make sense to also update them to whatever a > two-argument fetch got. I like this one. FYI, I posted a patch in Aug 2009, and there was some discussion about the impacts (it spills over into the sibling subthreads): http://article.gmane.org/gmane.comp.version-control.git/127215 I'm actually still carrying the patch in my repository (and using it every day!). I guess I should get on polishing it up... -Peff