Skip to content

Commit

Permalink
[PATCH] Teach diff-tree-helper to handle unmerged paths.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed Apr 27, 2005
1 parent f92a446 commit 91f192a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-tree-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 91f192a

Please sign in to comment.