git-commit-vandalism/builtin
Jonathan Nieder 4bb0936206 merge-file --diff3: add a label for ancestor
git merge-file --diff3 can be used to present conflicts hunks
including text from the common ancestor.

The added information is helpful for resolving a merge by hand, and
merge tools can usually grok it because it looks like output from
diff3 -m.  However, ‘diff3’ includes a label for the merge base on the
||||||| line and some tools cannot parse conflict hunks without such a
label.  Write the base-name as passed in a -L option (or the name of
the ancestor file by default) on that line.

git rerere will not have trouble parsing this output, since instead of
looking for a newline, it looks for whitespace after the |||||||
marker.  Since rerere includes its own code for recreating conflict
hunks, conflict identifiers are unaffected.  No other code in git tries
to parse conflict hunks.

Requested-by: Stefan Monnier <monnier@iro.umontreal.ca>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-03-20 20:36:11 -07:00
..
add.c Merge branch 'cp/add-u-pathspec' 2010-03-10 15:32:02 -08:00
annotate.c
apply.c Merge branch 'bg/apply-fix-blank-at-eof' 2010-03-20 11:29:35 -07:00
archive.c
bisect--helper.c
blame.c Merge branch 'maint' 2010-03-13 21:31:42 -08:00
branch.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
bundle.c
cat-file.c
check-attr.c
check-ref-format.c
checkout-index.c
checkout.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
clean.c
clone.c Merge branch 'tc/transport-verbosity' 2010-03-15 00:58:42 -07:00
commit-tree.c
commit.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
config.c
count-objects.c
describe.c
diff-files.c
diff-index.c
diff-tree.c
diff.c
fast-export.c
fetch-pack.c
fetch.c Merge branch 'maint' 2010-03-20 11:29:19 -07:00
fmt-merge-msg.c
for-each-ref.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
fsck.c
gc.c
grep.c Merge branch 'ml/color-grep' 2010-03-20 11:29:36 -07:00
hash-object.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
help.c
index-pack.c
init-db.c Merge branch 'sd/init-template' 2010-03-10 15:32:43 -08:00
log.c Merge branch 'sd/format-patch-to' 2010-03-15 00:58:55 -07:00
ls-files.c
ls-remote.c
ls-tree.c
mailinfo.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
mailsplit.c Merge branch 'sh/am-keep-cr' 2010-03-10 15:32:34 -08:00
merge-base.c
merge-file.c merge-file --diff3: add a label for ancestor 2010-03-20 20:36:11 -07:00
merge-index.c
merge-ours.c
merge-recursive.c Move 'builtin-*' into a 'builtin/' subdirectory 2010-02-22 14:29:41 -08:00
merge-tree.c
merge.c
mktag.c
mktree.c
mv.c
name-rev.c
notes.c Merge branch 'jh/notes' 2010-03-15 00:52:06 -07:00
pack-objects.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
pack-redundant.c
pack-refs.c
patch-id.c
prune-packed.c
prune.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
push.c Merge branch 'tc/transport-verbosity' 2010-03-15 00:58:42 -07:00
read-tree.c
receive-pack.c
reflog.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
remote.c
replace.c
rerere.c
reset.c Merge branch 'cc/reset-keep' 2010-03-20 11:29:35 -07:00
rev-list.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
rev-parse.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
revert.c
rm.c
send-pack.c Merge branch 'ld/push-porcelain' 2010-03-15 00:58:24 -07:00
shortlog.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
show-branch.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
show-ref.c
stripspace.c
symbolic-ref.c
tag.c
tar-tree.c
unpack-file.c
unpack-objects.c
update-index.c
update-ref.c
update-server-info.c
upload-archive.c
var.c Merge branch 'lt/deepen-builtin-source' 2010-03-10 15:25:18 -08:00
verify-pack.c
verify-tag.c
write-tree.c