Re: [PATCH] Make git revert warn the user when reverting a merge commit.
- From
- Alan <alan@clueserver.org>
- Date
- Dec 19, 2008, 18:07 UTC
- Message-ID
- <1229710058.5569.1.camel@rotwang.fnordora.org>
- In-Reply-To
- <200812182129.01021.bss@iguanasuicide.net>
On Thu, 2008-12-18 at 21:29 -0600, Boyd Stephen Smith Jr. wrote:
Show 13 quoted lines
> On Thursday 2008 December 18 21:03:46 Junio C Hamano wrote:
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> > > warning("revert on a merge commit may not do what you "
> > > "expect.");
> >
> > [T]he new warning does
> > not give you enough clue where to go next, so this warning does not give
> > real value. It is pretty much meaningless noise to users.
>
> At least, it might make someone read the manpage again. Still, I'm unhappy
> with the message, but I didn't want to be too wordy. A URL or manpage
> reference would be nice, but I didn't know of a good guide that explained the
> dangers of reverting a merge commit as well as Linus's emails.That would be OK if the man page actually explained how this is supposed to work. it does not. (Especially where it concerns "parent number" and reverts of merges, which has no real explanation.)