Skip to content

Commit 9ab5a33

Browse files
committed
Merge branch 'maint'
* maint: config.txt: fix placement of diff.noprefix
2 parents 99f55eb + 9904fad commit 9ab5a33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/config.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,6 @@ diff.mnemonicprefix::
813813
standard "a/" and "b/" depending on what is being compared. When
814814
this configuration is in effect, reverse diff output also swaps
815815
the order of the prefixes:
816-
diff.noprefix::
817-
If set, 'git diff' does not show any source or destination prefix.
818816
`git diff`;;
819817
compares the (i)ndex and the (w)ork tree;
820818
`git diff HEAD`;;
@@ -826,6 +824,9 @@ diff.noprefix::
826824
`git diff --no-index a b`;;
827825
compares two non-git things (1) and (2).
828826

827+
diff.noprefix::
828+
If set, 'git diff' does not show any source or destination prefix.
829+
829830
diff.renameLimit::
830831
The number of files to consider when performing the copy/rename
831832
detection; equivalent to the 'git diff' option '-l'.

0 commit comments

Comments
 (0)