git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Mistake in git-reset documentation

From
Jeff King <peff@peff.net>
Date
Oct 29, 2012, 05:38 UTC
Message-ID
<20121029053820.GC30186@sigill.intra.peff.net>
In-Reply-To
<20121028141327.GB16686@shrek.podlesie.net>
On Sun, Oct 28, 2012 at 03:13:27PM +0100, Krzysztof Mazur wrote:
Show 6 quoted lines
> 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".
Yeah, agreed on both.
Show 10 quoted lines
> -- >8 --
> Subject: [PATCH] doc: git-reset: make "<mode>" optional
> 
> The git-reset's "<mode>" is an optional argument, however it was
> documented as required.
> 
> The "<mode>" is documented as one of: --soft, --mixed, --hard, --merge
> or --keep, so "<mode>" should be used instead of "--<mode>".
> 
> Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Thanks, this looks good to me.
-Peff
Previous: Krzysztof Mazur
Message 8 of 8 in “Mistake in git-reset documentation”
  1. Bojan PetrovićOct 27, 2012
  2. Krzysztof MazurOct 28, 2012
  3. Bojan PetrovićOct 28, 2012
  4. Jeff KingOct 28, 2012
  5. Andreas SchwabOct 28, 2012
  6. Jeff KingOct 28, 2012
  7. Krzysztof MazurOct 28, 2012
  8. Jeff KingOct 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.