Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Teach diff-tree-helper to handle unmerged paths.
[gitweb.git]
/
diff-tree-helper.c
diff --git
a/diff-tree-helper.c
b/diff-tree-helper.c
index 4167d11e0081f59d6839811e99c01fe76cc9137c..f3efc8a6f2d21c33bd6096dae3150df61800b015 100644
(file)
--- a/
diff-tree-helper.c
+++ b/
diff-tree-helper.c
@@
-56,7
+56,7
@@
static int parse_diff_tree_output(const char *buf,
switch (*cp++) {
case 'U':
-
fprintf(stderr, "warning: unmerged path %s\n", cp+
1);
+
diff_unmerge(cp +
1);
return WARNED_OURSELVES;
case '+':
old->file_valid = 0;