Re: [PATCH] git-reset: allow --soft in a bare repo
- From
Jeff King <peff@peff.net>
- Date
- Jul 15, 2007, 01:02 UTC
- Message-ID
- <20070715010215.GA20676@sigill.intra.peff.net>
- In-Reply-To
- <7v7ip3jsf8.fsf@assigned-by-dhcp.cox.net>
On Sat, Jul 14, 2007 at 01:33:31AM -0700, Junio C Hamano wrote:
> > since git-branch is usually used for _making_ a branch, whereas > "branch -f" is very often used to "reset the branch tip". My > git day typically begins with "branch -f pu next".
I think we just have a different perspective of what is "usual" here.
> Actually, after thinking about this a bit more, I have become > somewhat reluctant, as this might confuse new users by giving > them a wrong mental model of what "reset" is about.
OK, as I said on irc, I don't think this is a huge issue in the first place, and your argument about encouraging a particular workflow for git-reset makes some sense (even if that hasn't been my approach to git-reset in the past).
-Peff