summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d3afe0)
raw | patch | inline | side by side (parent: 5d3afe0)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 27 Jul 2006 17:13:24 +0000 (19:13 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 28 Jul 2006 02:39:15 +0000 (19:39 -0700) |
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index 79c022e098e3b1924793ff4f2fc35387b0b235e8..1a21ff30255ad42bf03b26780a2984eb1326eb0f 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
char src2[PATH_MAX];
const char *argv[] = {
"merge", "-L", NULL, "-L", NULL, "-L", NULL,
- src1, orig, src2,
+ NULL, NULL, NULL,
NULL
};
char *la, *lb, *lo;
argv[2] = la = strdup(mkpath("%s/%s", branch1Name, a->path));
argv[6] = lb = strdup(mkpath("%s/%s", branch2Name, b->path));
argv[4] = lo = strdup(mkpath("orig/%s", o->path));
+ argv[7] = src1;
+ argv[8] = orig;
+ argv[9] = src2,
code = run_command_v(10, argv);