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

2014-12-21 Thread Junio C Hamano
kel...@shysecurity.com writes: >> "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

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

2014-12-21 Thread kelson
d line option (e.g. "--no-relative"). Good idea; I'll put together a second patch for a "--no-relative" option to disable diff.relative. -Original Message- From: Junio C Hamano Sent: 12/20/2014 09:58 PM To: Philip Oakley CC: , "Git Mailing List&qu

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

2014-12-20 Thread Junio C Hamano
"Philip Oakley" writes: > From: >> 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 --

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

2014-12-20 Thread Philip Oakley
From: 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"). Shouldn't this `(identic

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

2014-12-20 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 (identical to "git diff --relative"). Signed-off-by: Brandon Phillip