Merge branch 'ah/doc-updates'
[gitweb.git] / sequencer.c
index 83f17721d4fc44cd5da211878c335f4e0e07cde9..0c164d5f98f152156ef21a79159f6348fecb0273 100644 (file)
@@ -1913,7 +1913,7 @@ static int read_and_refresh_cache(struct replay_opts *opts)
 {
        struct lock_file index_lock = LOCK_INIT;
        int index_fd = hold_locked_index(&index_lock, 0);
-       if (read_index_preload(&the_index, NULL) < 0) {
+       if (read_index_preload(&the_index, NULL, 0) < 0) {
                rollback_lock_file(&index_lock);
                return error(_("git %s: failed to read the index"),
                        _(action_name(opts)));