Skip to content

Commit 91f192a

Browse files
Junio C HamanoLinus Torvalds
authored andcommitted
[PATCH] Teach diff-tree-helper to handle unmerged paths.
This teaches diff-tree-helper to call diff_unmerge() so that it can report unmerged paths to GIT_EXTERNAL_DIFF, instead of consuming it on its own. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent f92a446 commit 91f192a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-tree-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static int parse_diff_tree_output(const char *buf,
5656

5757
switch (*cp++) {
5858
case 'U':
59-
fprintf(stderr, "warning: unmerged path %s\n", cp+1);
59+
diff_unmerge(cp + 1);
6060
return WARNED_OURSELVES;
6161
case '+':
6262
old->file_valid = 0;

0 commit comments

Comments
 (0)