git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF
@ 2007-02-13 22:36 Yann Dirson
  2007-02-14  1:27 ` Jakub Narebski
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Dirson @ 2007-02-13 22:36 UTC (permalink / raw)
  To: GIT list

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF
  2007-02-13 22:36 Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF Yann Dirson
@ 2007-02-14  1:27 ` Jakub Narebski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Narebski @ 2007-02-14  1:27 UTC (permalink / raw)
  To: git

Yann Dirson wrote:

> 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).

GIT_DIFF_OPTS are also described there.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-14  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 22:36 Missing documentation for GIT_DIFF_OPTS and GIT_EXTERNAL_DIFF Yann Dirson
2007-02-14  1:27 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).