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
threads / discuss / 32915
Subject: supports diff.context config for git-diff-tree
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
Re: supports diff.context config for git-diff-tree
乙酸鋰 <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.