diff options
author | Eli Collins <eli@cloudera.com> | 2010-05-02 19:03:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-18 21:31:51 -0700 |
commit | f89504ddb9392fa6b9407957bf26905fd1d59d0a (patch) | |
tree | 970b0f13668f26c4ec3fd694b438fab6ae2cb41d /Documentation/config.txt | |
parent | 0e4607c09d72ada4942ea49298dba83ec4145892 (diff) | |
download | git-f89504ddb9392fa6b9407957bf26905fd1d59d0a.tar.gz git-f89504ddb9392fa6b9407957bf26905fd1d59d0a.tar.xz |
diff: add configuration option for disabling diff prefixes.
With new configuration "diff.noprefix", "git diff" does not show a source or destination prefix ala "git diff --no-prefix".
Signed-off-by: Eli Collins <eli@cloudera.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index e5aa2cacf..93ab49772 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -798,6 +798,8 @@ diff.mnemonicprefix:: standard "a/" and "b/" depending on what is being compared. When this configuration is in effect, reverse diff output also swaps the order of the prefixes: +diff.noprefix:: + If set, 'git diff' does not show any source or destination prefix. `git diff`;; compares the (i)ndex and the (w)ork tree; `git diff HEAD`;; |