threads / patch / 22772

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

Subject: [PATCH] Documentation: mention conflict marker size argument (%L) for merge driver

## tl;dr

One message between Feb 23, 2010 and Feb 23, 2010. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Bert Wesarg· Feb 23, 2010, 20:11 UTC · lore

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.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
---
 Documentation/gitattributes.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Show changes to Documentation/gitattributes.txt +2 −1
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index b396a87..d892e64 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -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
-- 
1.7.0.500.ge51cb

← back to recent threads