notes-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
96ab6e0b30
commit
5684200fe3
@ -808,7 +808,7 @@ static int merge(int argc, const char **argv, const char *prefix)
|
||||
usage_with_options(git_notes_merge_usage, options);
|
||||
}
|
||||
|
||||
init_notes_merge_options(&o);
|
||||
init_notes_merge_options(the_repository, &o);
|
||||
o.verbosity = verbosity + NOTES_MERGE_VERBOSITY_DEFAULT;
|
||||
|
||||
if (do_abort)
|
||||
|
Reference in New Issue
Block a user