git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* supports diff.context config for git-diff-tree
@ 2013-02-15 23:52 乙酸鋰
  2013-02-16  0:00 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: 乙酸鋰 @ 2013-02-15 23:52 UTC (permalink / raw)
  To: git

Dear Sir,

In git 1.8.1, git-diff supports diff.context config.
However, git-diff-tree does not support this.
Could you also add this to git-diff-tree?

Regards,
ch3cooli

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

* Re: supports diff.context config for git-diff-tree
  2013-02-15 23:52 supports diff.context config for git-diff-tree 乙酸鋰
@ 2013-02-16  0:00 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2013-02-16  0:00 UTC (permalink / raw)
  To: 乙酸鋰; +Cc: git

乙酸鋰 <ch3cooli@gmail.com> writes:

> In git 1.8.1, git-diff supports diff.context config.
> However, git-diff-tree does not support this.
> Could you also add this to git-diff-tree?

That's more or less deliberate, isn't it?

Cosmetic details of the output from plumbing commands should not be
affected by random configuration variables the user happens to have
and break the assumption your script that reads their output makes.

If your custom Porcelain that is built using the plumbing commands
wants to honor such UI level configuration variables, "git config"
is there for that exact purpose.

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

end of thread, other threads:[~2013-02-16  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 23:52 supports diff.context config for git-diff-tree 乙酸鋰
2013-02-16  0:00 ` Junio C Hamano

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