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

Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF

From
Yann Dirson <ydirson@altern.org>
Date
Feb 13, 2007, 22:36 UTC
Message-ID
<20070213223657.GC4266@nan92-1-81-57-214-146.fbx.proxad.net>
I noticed today, after unsuccessfully trying GIT_DIFF_OPTS=-U2, that
1) it did not work, 2) the doc in 1.4.4.4 tells about using
"GIT_DIFF_OPTS=-c", which does not work either and 3) there is
virtually no more doc about it in HEAD.

It would be useful to document which flags are recognized, and notably that -u<n> has to be used instead of GNU diff's -U<n>.

At the same time, I noticed that GIT_EXTERNAL_DIFF is not described in the diff docs either, although it is described in the main git.txt page (which may not be the place where users would look for it - at least, only my grep aiming to be accurate before composing this mail finally found it).

Best regards,
-- 
Yann.
Next: Jakub Narebski
Message 1 of 2 in “Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF”
  1. Yann DirsonFeb 13, 2007
  2. Jakub NarebskiFeb 14, 2007

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.