Thread (63 messages) flat view 63 messages, 25 authors, 2016-06-15

Re: [1.8.0] make two-argument fetch update remote branches

From: Jeff King <hidden>
Date: 2016-06-15 22:50:29

Possibly related (same subject, not in this thread)

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help