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

Re: error(?) in "man git-stash" regarding "--keep-index"

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
May 18, 2018, 15:43 UTC
Message-ID
<alpine.LFD.2.21.1805181141030.10462@localhost.localdomain>
In-Reply-To
<96486abe-cf13-ef10-7513-2d6c20a9dc1e@gmx.de>
On Fri, 18 May 2018, Sybille Peters wrote:
Show 6 quoted lines
> My 2c on this:
>
> 1) "If the --keep-index option is used, all changes already added to
>    the index are left intact" (manpage git stash)
>
> That appears to be correct and clear
  yup, that's not the issue.
Show 6 quoted lines
> 2) "$ git stash push --keep-index # save *all other* changes to the
>    stash"  (manpage git stash)
>
> That is either not correct or misleading. "All other" implies in my
> opinion all changes except the ones that were already added. *"All
> changes including already staged changes"* might be a better choice.
  yup, that is *exactly* the point i was trying to make.
rday
Previous: Sybille PetersNext: Martin Ågren
Message 6 of 9 in “error(?) in "man git-stash" regarding "--keep-index"”
  1. Robert P. J. DayMay 18, 2018
  2. Martin ÅgrenMay 18, 2018
  3. Robert P. J. DayMay 18, 2018
  4. Martin ÅgrenMay 18, 2018
  5. Sybille PetersMay 18, 2018
  6. Robert P. J. DayMay 18, 2018
  7. Martin ÅgrenMay 18, 2018
  8. Sybille PetersMay 19, 2018
  9. Robert P. J. DayMay 18, 2018

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.