Re: Minor annoyance with git push
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 10, 2008, 12:21 UTC
- Message-ID
- <alpine.LSU.1.00.0802101220360.11591@racer.site>
- In-Reply-To
- <7vd4r55vcs.fsf@gitster.siamese.dyndns.org>
Hi,
On Sat, 9 Feb 2008, Junio C Hamano wrote:
Show 16 quoted lines
> Steffen Prohaska <prohaska@zib.de> writes: > > > On Feb 8, 2008, at 8:48 AM, Junio C Hamano wrote: > > > >> 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? > > Yeah, that would be even safer. And I do not mind if the "git > checkout" learned to do so natively without needing of such a > hook.
Heh, should be easier when we have builtin git-checkout... which reminds me that I have a patch series to review. ;-)
Ciao, Dscho