Skip to contentSkip to conversation

Documentation: mention conflict marker size argument (%L) for merge driver

PATCH New Bert Wesarg 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: mention conflict marker size argument (%L) for merge driver

23a64c9e (conflict-marker-size: new attribute, 2010-01-16) introduced the new attribute and also pass the conflict marker size as %L to merge driver commands. This documents the substitution.

---
 Documentation/gitattributes.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Documentation/gitattributes.txt +2 -1
index b396a87..d892e64 100644
@@ -511,7 +511,8 @@ command to run to merge ancestor's version (`%O`), current
 version (`%A`) and the other branches' version (`%B`).  These
 three tokens are replaced with the names of temporary files that
 hold the contents of these versions when the command line is
-built.
+built. Additionally, %L will be replaced with the conflict marker
+size (see below).
 
 The merge driver is expected to leave the result of the merge in
 the file named with `%A` by overwriting it, and exit with zero
Signature · 1 line
1.7.0.500.ge51cb