Content-Type: text/plain; charset=utf-8; format=flowed
Please. No format=flawed. Really.
I'll figure out the line-wrapping.
Also this step is not about --no-relative and diff.relative but is only about
--no-relative option.
Should I submit as two independent patches then? I took the approac
added diff.relative setting for git-diff (code, documentation, and tests)
`git-config diff.relative=true` causes `git diff` to behave like `git
diff --relative`. Overridden by `git diff --no-relative`.
Signed-off-by: Brandon Phillips
---
Documentation/diff-config.txt | 6 ++
diff.c
added --no-relative option for git-diff (code, documentation, and tests)
--no-relative overrides --relative causing a return to standard behavior
Signed-off-by: Brandon Phillips
---
Documentation/diff-options.txt | 4
diff.c | 2 ++
t/t4045-diff-relative.sh
added --no-relative option for git-diff (code, documentation, and tests)
--no-relative overrides --relative causing a return to standard behavior
Signed-off-by: Brandon Phillips
---
Documentation/diff-options.txt | 4
diff.c | 2 ++
t/t4045-diff-relative.sh
added diff.relative setting for git-diff (code, documentation, and tests)
`git-config diff.relative=true` causes `git diff` to behave like `git
diff --relative`. Overridden by `git diff --no-relative`.
Signed-off-by: Brandon Phillips
---
Documentation/diff-config.txt | 6 ++
diff.c
added support for `git diff --no-relative` (code, documentation, and tests)
git-diff --no-relative overrides diff.relative config setting and prior
git-diff --relative[=] options.
---
Documentation/diff-config.txt | 1 +
Documentation/diff-options.txt | 4 +++
diff.c
By default, git-diff shows changes and pathnames relative to the
repository root.
Setting diff.relative to "true" shows pathnames relative to the current
directory
and excludes changes outside this directory.
---
Documentation/diff-config.txt | 5 +
diff.c| 8 +
added support for `git diff --no-relative` (code, documentation, and tests)
git-diff --no-relative overrides diff.relative config setting and prior
git-diff --relative[=] options.
---
Documentation/diff-config.txt | 1 +
Documentation/diff-options.txt | 4 +++
diff.c
By default, git-diff shows changes and pathnames relative to the
repository root.
Setting diff.relative to "true" shows pathnames relative to the current
directory
and excludes changes outside this directory.
---
Documentation/diff-config.txt | 5 +
diff.c| 8 +
"Philip Oakley" wrote:
Shouldn't this `(identical to "git diff --relative")` also be
included in the documentation change? It would truly clarify the
intenbt for the reader.
Updated as follows:
+diff.relative::
+ Show pathnames relative to the current directory and exclude
+ changes
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 (identical to "git diff --relative").
Signed-off-by: Brandon Phillip
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.
Signed-off-by: Brandon Phillips
---
Documentation/diff-config.txt
, 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
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
14 matches
Mail list logo