]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/am.c
notes-utils.c: remove the_repository references
[thirdparty/git.git] / builtin / am.c
index 95370313b66daad8cabcc3b855136e29afb3133f..d32044545d7b10157042045161b839344cbbc8d8 100644 (file)
@@ -527,7 +527,7 @@ static int copy_notes_for_rebase(const struct am_state *state)
        }
 
 finish:
-       finish_copy_notes_for_rewrite(c, msg);
+       finish_copy_notes_for_rewrite(the_repository, c, msg);
        fclose(fp);
        strbuf_release(&sb);
        return ret;