Re: Mistake in git-reset documentation

2012-10-28 Thread Krzysztof Mazur
On Sat, Oct 27, 2012 at 01:21:18PM +0200, Bojan Petrović wrote: None of the three forms of git-reset accept: git reset which is the equivalent of git reset -mixed. Square brackets should be used instead of parentheses for --soft | --mixed | --hard | --merge | --keep. Bojan Square

Re: Mistake in git-reset documentation

2012-10-28 Thread Bojan Petrović
No need for that. Getting this patched will be enough. :) Thank you! On 28 October 2012 09:36, Krzysztof Mazur krzys...@podlesie.net wrote: On Sat, Oct 27, 2012 at 01:21:18PM +0200, Bojan Petrović wrote: None of the three forms of git-reset accept: git reset which is the equivalent of git

Re: Mistake in git-reset documentation

2012-10-28 Thread Jeff King
On Sun, Oct 28, 2012 at 09:36:10AM +0100, Krzysztof Mazur wrote: -- 8 -- Subject: [PATCH] doc: git-reset: make --mode optional The git-reset's --mode is an optional argument, however it was documented as required. Signed-off-by: Krzysztof Mazur krzys...@podlesie.net I think this is

Re: Mistake in git-reset documentation

2012-10-28 Thread Andreas Schwab
Jeff King p...@peff.net writes: On Sun, Oct 28, 2012 at 09:36:10AM +0100, Krzysztof Mazur wrote: DESCRIPTION --- @@ -43,7 +43,7 @@ This means that `git reset -p` is the opposite of `git add -p`, i.e. you can use it to selectively reset hunks. See the ``Interactive Mode''

Re: Mistake in git-reset documentation

2012-10-28 Thread Jeff King
On Sun, Oct 28, 2012 at 02:39:49PM +0100, Andreas Schwab wrote: Jeff King p...@peff.net writes: On Sun, Oct 28, 2012 at 09:36:10AM +0100, Krzysztof Mazur wrote: DESCRIPTION --- @@ -43,7 +43,7 @@ This means that `git reset -p` is the opposite of `git add -p`, i.e. you

Re: Mistake in git-reset documentation

2012-10-28 Thread Krzysztof Mazur
On Sun, Oct 28, 2012 at 09:46:35AM -0400, Jeff King wrote: On Sun, Oct 28, 2012 at 02:39:49PM +0100, Andreas Schwab wrote: Jeff King p...@peff.net writes: On Sun, Oct 28, 2012 at 09:36:10AM +0100, Krzysztof Mazur wrote: DESCRIPTION --- @@ -43,7 +43,7 @@ This means

Re: Mistake in git-reset documentation

2012-10-28 Thread Jeff King
On Sun, Oct 28, 2012 at 03:13:27PM +0100, Krzysztof Mazur wrote: The --mixed mode is also described as second mode, and saying that --mixed is default earlier may save some time wasted on reading --soft description. There is also small inconsequence in what mode is, just mixed or --mixed.