projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92a446
)
[PATCH] Teach diff-tree-helper to handle unmerged paths.
author
Junio C Hamano
<junkio@cox.net>
Wed, 27 Apr 2005 16:21:00 +0000
(09:21 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 16:21:00 +0000
(09:21 -0700)
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>
diff-tree-helper.c
patch
|
blob
|
history
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;