Re: [PATCH] added git-config support for diff.relative setting

2014-12-11 Thread Kelson
, like git-bisect, which --relative would not effect. -Original Message- From: Duy Nguyen Sent: 12/11/2014 08:37 AM To: Kelson CC: Git Mailing List Subject: Re: [PATCH] added git-config support for diff.relative setting On Thu, Dec 11, 2014 at 2:28 PM, Kelson wrote: @@ -270,6 +270,14

Re: [PATCH] added git-config support for diff.relative setting

2014-12-11 Thread Duy Nguyen
On Thu, Dec 11, 2014 at 2:28 PM, Kelson wrote: > @@ -270,6 +270,14 @@ int git_diff_basic_config(const char *var, const char > *value, void *cb) > return 0; > } > > + if (!strcmp(var, "diff.relative")) { > + if (git_config_bool(var, value)) > +

[PATCH] added git-config support for diff.relative setting

2014-12-10 Thread Kelson
By default, git-diff shows changes and pathnames relative to the repository root. Setting the diff.relative config option to "true" shows pathnames relative to the current directory and excludes changes outside this directory. --- Documentation/diff-config.txt | 6 ++ diff.c