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

Re: [BUG] git stash -k show the help message for diff-index

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 5, 2011, 17:43 UTC
Message-ID
<7v4nzn8hcp.fsf@alter.siamese.dyndns.org>
In-Reply-To
<vpqfwj7v5cx.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 7 quoted lines
> Everything is in the title. No time to bisect/fix this now, but:
>
> $ git status
> # On branch master
> nothing to commit (working directory clean)
> $ git stash -k
> usage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
Hmm, does not reproduce.

: alter victim-2.git/master; git status # On branch master nothing to commit (working directory clean) : alter victim-2.git/master; git stash -k No local changes to save : alter victim-2.git/master; git version git version 1.7.7

Previous: Matthieu MoyNext: Matthieu Moy
Message 2 of 3 in “[BUG] git stash -k show the help message for diff-index”
  1. Matthieu MoyOct 5, 2011
  2. Junio C HamanoOct 5, 2011
  3. Matthieu MoyOct 6, 2011

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.