summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36de170)
raw | patch | inline | side by side (parent: 36de170)
author | Elijah Newren <newren@gmail.com> | |
Mon, 20 Sep 2010 08:28:58 +0000 (02:28 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 30 Sep 2010 00:37:03 +0000 (17:37 -0700) |
Enable calling merge_content() and providing more information about renames
and D/F conflicts (which we will want to do from process_df_entry()).
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
and D/F conflicts (which we will want to do from process_df_entry()).
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index 691c97c333a1c6362bcf2443f8350d1e9a3f1578..b9bc95a659bf2a76b20b64b4b2783bc3acb9a97c 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
const char *path,
unsigned char *o_sha, int o_mode,
unsigned char *a_sha, int a_mode,
- unsigned char *b_sha, int b_mode)
+ unsigned char *b_sha, int b_mode,
+ const char *df_rename_conflict_branch)
{
const char *reason = "content";
struct merge_file_info mfi;
/* Case C: Added in both (check for same permissions) and */
/* case D: Modified in both, but differently. */
clean_merge = merge_content(o, path,
- o_sha, o_mode, a_sha, a_mode, b_sha, b_mode);
+ o_sha, o_mode, a_sha, a_mode, b_sha, b_mode,
+ NULL);
} else if (!o_sha && !a_sha && !b_sha) {
/*
* this entry was deleted altogether. a_mode == 0 means