From: Steffen Prohaska Date: Sat, 09 Feb 2008 11:22:33 GMT Subject: Re: Minor annoyance with git push Message-ID: <3AA71024-080B-4252-8416-82AE38A4498E@zib.de> In-Reply-To: <7vwspfkhxm.fsf@gitster.siamese.dyndns.org> On Feb 8, 2008, at 8:48 AM, Junio C Hamano wrote: > "Martin Langhoff" writes: > >> Because when I "git checkout bla-stale-branch" to help a fellow >> developer again, I have to remember to "git merge >> origin/bla-stale-branch" to get a much needed fast-forward before >> starting to work. > > Perhaps it might make sense to have a checkout hook that notices > the branch that is being checked out is meant to build on top of > a corresponding remote tracking branch, and performs the > necessary fast-forward when that is the case. Or just print a warning that there are new commits on the tracked branch and leave the decision how to proceed to the user? Steffen