Re: supports diff.context config for git-diff-tree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 16, 2013, 00:00 UTC
- Message-ID
- <7vhaldf7qb.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAHtLG6TPs=Z2i8s3_dd_igztuvuqE5L93cTtBM4q1zDCzpU55w@mail.gmail.com>
乙酸鋰 <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.