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

Re: Re* git commit fails under some circumstances

From
Will Palmer <wmpalmer@gmail.com>
Date
Apr 5, 2011, 08:23 UTC
Message-ID
<1301991804.2320.13.camel@wpalmer.simply-domain>
In-Reply-To
<7v8vvp5cxn.fsf@alter.siamese.dyndns.org>
On Tue, 2011-04-05 at 01:18 -0700, Junio C Hamano wrote:
Show 7 quoted lines
> Will Palmer <wmpalmer@gmail.com> writes:
> 
> > The alternative, "git add everything else, then use git diff --cached" I
> > believe is unsuitable
> 
> It sounds as if you are looking for "git diff HEAD" to me...
> 

Quite possible another case of "the mindset of someone used to using the index, and so always wanting to reference it, clashing with the mindset of someone who never uses the index, and so doesn't even consider it". Quite possible this is indeed the solution that was needed.

Previous: Junio C HamanoNext: Jeff King
Message 5 of 8 in “git commit fails under some circumstances”
  1. Laszlo PappApr 2, 2011
  2. Re* git commit fails under some circumstancesJunio C Hamano, Apr 2, 2011
  3. Will PalmerApr 5, 2011
  4. Junio C HamanoApr 5, 2011
  5. Will PalmerApr 5, 2011
  6. Jeff KingApr 5, 2011
  7. Junio C HamanoApr 6, 2011
  8. Jeff KingApr 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.