Skip to content

Commit 55b5ba8

Browse files
committed
Merge branch 'en/doc-renormalize'
Doc updates. * en/doc-renormalize: doc: clarify the intent of the renormalize option in the merge machinery
2 parents ee8020f + 4576198 commit 55b5ba8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Documentation/config/merge.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ merge.renormalize::
6969
Tell Git that canonical representation of files in the
7070
repository has changed over time (e.g. earlier commits record
7171
text files with CRLF line endings, but recent ones use LF line
72-
endings). In such a repository, Git can convert the data
72+
endings). In such a repository, for each file where a
73+
three-way content merge is needed, Git can convert the data
7374
recorded in commits to a canonical form before performing a
7475
merge to reduce unnecessary conflicts. For more information,
7576
see section "Merging branches with differing checkin/checkout

Documentation/gitattributes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,8 @@ where the attribute is not in place would normally cause merge
701701
conflicts.
702702

703703
To prevent these unnecessary merge conflicts, Git can be told to run a
704-
virtual check-out and check-in of all three stages of a file when
705-
resolving a three-way merge by setting the `merge.renormalize`
704+
virtual check-out and check-in of all three stages of each file that
705+
needs a three-way content merge, by setting the `merge.renormalize`
706706
configuration variable. This prevents changes caused by check-in
707707
conversion from causing spurious merge conflicts when a converted file
708708
is merged with an unconverted file.

Documentation/merge-strategies.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ignore-cr-at-eol;;
5656

5757
renormalize;;
5858
This runs a virtual check-out and check-in of all three stages
59-
of a file when resolving a three-way merge. This option is
59+
of any file which needs a three-way merge. This option is
6060
meant to be used when merging branches with different clean
6161
filters or end-of-line normalization rules. See "Merging
6262
branches with differing checkin/checkout attributes" in

0 commit comments

Comments
 (0)