Ramkumar Ramachandra <artag...@gmail.com> writes:
> Thomas Rast wrote:
>> Ramkumar Ramachandra <artag...@gmail.com> writes:
>>> There are also other things in .git/config that would be nice to
>>> share, like whether to do a --word-diff (why isn't it a configuration
>>> variable yet?)
>> Because that would break pretty much every script that uses git-diff?
> diff.c already makes a differentiation between git_diff_ui_config()
> and git_diff_basic_config(); there are configuration options that
> should only be applied when the command is called interactively.
It still breaks every other use of diff unless you make the diff output
depend on whether the user runs directly at the terminal (possibly using
git's own paging).
For example, if you just say something like 'git diff >file' for
inclusion in an email, you expect that to be a git-apply compatible
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html