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

Re: [PATCH] diff -- file1 file2: do not default to --no-index inside a git repository

From
Junio C Hamano <gitster@pobox.com>
Date
May 24, 2008, 05:17 UTC
Message-ID
<7vfxs8p9gc.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7v8wy0r2pa.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> I think ripping out --no-index from git-diff-files is probably the first
> step.  "git diff" also needs to fixed as Linus outlined, but that is a
> separate topic.
>
> How about doing something like this as a start?  At least that would get
> well behaved Porcelains like stg unstuck?
> ...
Please do not use this one, not just yet.

The series to fix this unfortunately is turning out to be larger than I hoped for, but the result is looking very promising ;-).

Previous: Junio C Hamano
Message 11 of 11 in “git diff-files weirdness (bug?)”
  1. Catalin MarinasMay 23, 2008
  2. Linus TorvaldsMay 23, 2008
  3. Linus TorvaldsMay 23, 2008
  4. diff -- file1 file2: do not default to --no-index inside a git repositoryJohannes Schindelin, May 23, 2008
  5. diff file1 file2: do not default to --no-index inside a git repositoryJohannes Schindelin, May 23, 2008
  6. Junio C HamanoMay 24, 2008
  7. 1/3 tests: do not use implicit "git diff --no-index"Junio C Hamano, May 24, 2008
  8. 2/3 diff-files: do not play --no-index gamesJunio C Hamano, May 24, 2008
  9. 3/3 "git diff": do not ignore index without --no-indexJunio C Hamano, May 24, 2008
  10. Junio C HamanoMay 24, 2008
  11. Junio C HamanoMay 24, 2008

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.