Re: [PATCH] Fix pulling into the same branch.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 11, 2005, 09:56 UTC
- Message-ID
- <Pine.LNX.4.63.0509111153380.32555@wgmdd8.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vzmr43vix.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 26 Aug 2005, Junio C Hamano wrote:
Show 7 quoted lines
> Come to think of it, it may be cleaner to simply forbid > fast-forward fetching into the current repository (whether it is > "git fetch" or "git pull"). At least in your workflow you do > not do that ever anyway. > > Johannes, what do you think, as the original advocate of "push in > reverse"?
I'm fine with it.
Although it might make more sense to check for dirty state, and fast-forward only for a clean state (together with a checkout of the new HEAD).
Ciao, Dscho