]> git.ipfire.org Git - thirdparty/git.git/blobdiff - rebase-interactive.c
sequencer.c: remove implicit dependency on the_repository
[thirdparty/git.git] / rebase-interactive.c
index 78f3263fc153079938898989822b57e5888568d6..3cc19283ff11e7ce533e553188e2fb65a25ef9a3 100644 (file)
@@ -69,7 +69,7 @@ int edit_todo_list(unsigned flags)
 
        strbuf_release(&buf);
 
-       transform_todos(flags | TODO_LIST_SHORTEN_IDS);
+       transform_todos(the_repository, flags | TODO_LIST_SHORTEN_IDS);
 
        if (strbuf_read_file(&buf, todo_file, 0) < 0)
                return error_errno(_("could not read '%s'."), todo_file);
@@ -85,7 +85,7 @@ int edit_todo_list(unsigned flags)
        if (launch_sequence_editor(todo_file, NULL, NULL))
                return -1;
 
-       transform_todos(flags & ~(TODO_LIST_SHORTEN_IDS));
+       transform_todos(the_repository, flags & ~(TODO_LIST_SHORTEN_IDS));
 
        return 0;
 }