mirror of
https://github.com/git/git.git
synced 2026-01-11 02:32:58 +00:00
ll-merge.c: remove implicit dependency on the_index
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
5adbb403c2
commit
32eaa46883
2
diff.c
2
diff.c
@@ -3637,7 +3637,7 @@ static void builtin_checkdiff(const char *name_a, const char *name_b,
|
||||
data.lineno = 0;
|
||||
data.o = o;
|
||||
data.ws_rule = whitespace_rule(attr_path);
|
||||
data.conflict_marker_size = ll_merge_marker_size(attr_path);
|
||||
data.conflict_marker_size = ll_merge_marker_size(o->repo->index, attr_path);
|
||||
|
||||
if (fill_mmfile(o->repo, &mf1, one) < 0 ||
|
||||
fill_mmfile(o->repo, &mf2, two) < 0)
|
||||
|
||||
Reference in New Issue
Block a user