Re: git pull for update of netdev fails.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 20, 2006, 21:42 UTC
- Message-ID
- <7vodtafc4g.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0609202333320.19042@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> I'd rather set another config variable with --shared, which tells git to > refuse receiving non-fast-forwards. This could be a sensible setting in > other setups than shared ones after all. Thoughts?
If this option is meant to forbid fixing up an screw-up by doing "git-push --force", I do not quite like it.
It sounds as if arguing that "rm -fr" is dangerous so presence of -f and -r at the same time should imply -i option. I think the right answer is not making -i implied, but train the user to understand what -fr means before using it.