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

[PATCH 0/4] Re: Undocumented git-diff syntax

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 11, 2010, 16:02 UTC
Message-ID
<20101011160224.GA25842@burratino>
In-Reply-To
<20101011161721.35940919@chalon.bertin.fr>
Yann Dirson wrote:
> OTOH, that appears not to be 100% accurate (my tests would have
> shown me): although --no-index does give me the expected results when
> one or two of the files are untracked, I have to explicitely add it,
> which seem to contradict this part of the doc.

Yep, the doc is out of date. Luckily I had a series updating it rotting in my local tree.

Patch 5 gives --no-index its own prominent mention in the DESCRIPTION section. I suspect that is a bad idea --- too much to learn for new users --- and that the description should go under OPTIONS, but I ran out of time.

Maybe patches 1-4 can help?
Jonathan Nieder (5):
  Documentation: gitrevisions is in section 7
  Documentation: diff can compare blobs
  Documentation: expand 'git diff' SEE ALSO section
  Documentation: update "git diff --no-index" description
  Documentation: expand diff --no-index description
 Documentation/git-cat-file.txt         |    2 +-
 Documentation/git-check-ref-format.txt |    2 +-
 Documentation/git-cherry-pick.txt      |    2 +-
 Documentation/git-diff.txt             |   36 ++++++++++++++++++++++++--------
 Documentation/git-fast-import.txt      |    2 +-
 Documentation/git-format-patch.txt     |    2 +-
 Documentation/git-log.txt              |    2 +-
 Documentation/git-push.txt             |    2 +-
 Documentation/git-reflog.txt           |    2 +-
 Documentation/git-revert.txt           |    2 +-
 Documentation/git-show-branch.txt      |    2 +-
 Documentation/git-show.txt             |    2 +-
 Documentation/git.txt                  |    2 +-
 Documentation/gitcore-tutorial.txt     |    2 +-
 Documentation/gitk.txt                 |    2 +-
 Documentation/user-manual.txt          |    8 +++---
 16 files changed, 45 insertions(+), 27 deletions(-)
-- 
1.7.2.3
Previous: Santi BéjarNext: Jonathan Nieder
Message 5 of 15 in “Undocumented git-diff syntax”
  1. Yann DirsonOct 11, 2010
  2. Santi BéjarOct 11, 2010
  3. Yann DirsonOct 11, 2010
  4. Santi BéjarOct 11, 2010
  5. 0/4 Re: Undocumented git-diff syntaxJonathan Nieder, Oct 11, 2010
  6. 1/5 Documentation: gitrevisions is in section 7Jonathan Nieder, Oct 11, 2010
  7. Sverre RabbelierOct 11, 2010
  8. 2/4 Documentation: diff can compare blobsJonathan Nieder, Oct 11, 2010
  9. 3/4 Documentation: expand 'git diff' SEE ALSO sectionJonathan Nieder, Oct 11, 2010
  10. 4/4 Documentation: update "git diff --no-index" descriptionJonathan Nieder, Oct 11, 2010
  11. 5/4 Documentation: flesh out diff --no-index descriptionJonathan Nieder, Oct 11, 2010
  12. Junio C HamanoOct 13, 2010
  13. Yann DirsonOct 11, 2010
  14. Sverre RabbelierOct 11, 2010
  15. Jakub NarebskiOct 11, 2010

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.