Daniel Barkalow <barkalow@xxxxxxxxxxxx> writes: > Usually, I use the same computer to do this multiple times in a row, and > it's a bit inconvenient that, after pushing local "for-mainline" to remote > "master", I have to fetch remote "master" to local "mainline". It would be > nice if git would update local tracking of remote refs when it pushes to > those remote refs. I recall discussing this exact behaviour with Pasky when he added it to Cogito. I think we concluded that it is a very sensible thing to pretend we fetched immediately after we successfully pushed and got the same thing back, and there is no risk of data loss or user confusion, as long as we catch failure from the push and refrain from doing this update, which Cogito did implement correctly when we discussed this. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html