On Thu, Dec 11, 2014 at 2:28 PM, Kelson kel...@shysecurity.com 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))
, like git-bisect, which --relative would not effect.
-Original Message-
From: Duy Nguyen pclo...@gmail.com
Sent: 12/11/2014 08:37 AM
To: Kelson kel...@shysecurity.com
CC: Git Mailing List git@vger.kernel.org
Subject: Re: [PATCH] added git-config support for diff.relative setting
On Thu, Dec
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
3 matches
Mail list logo