summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac78e54)
raw | patch | inline | side by side (parent: ac78e54)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 21 Apr 2007 07:05:31 +0000 (00:05 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 21 Apr 2007 07:05:31 +0000 (00:05 -0700) |
ll_user_merge_tail is supposed to point at the pointer to be
updated to point at a newly created item.
Signed-off-by: Junio C Hamano <junkio@cox.net>
updated to point at a newly created item.
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 96e461c73724b2fdb54aa3638b2a6dbcf390ccd7..3d395895fc8fe10fbaa778ad52e97d883b848cb7 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
namebuf[namelen] = 0;
fn->name = namebuf;
fn->fn = ll_ext_merge;
- fn->next = *ll_user_merge_tail;
+ fn->next = NULL;
*ll_user_merge_tail = fn;
+ ll_user_merge_tail = &(fn->next);
}
ep++;