]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rebase--interactive.c
sequencer: refactor rearrange_squash() to work on a todo_list
[thirdparty/git.git] / builtin / rebase--interactive.c
index 813bc34140e3c0da2839fde98d1175b24c488a35..60b15f9693c3c962d034abca1db12b1379832e26 100644 (file)
@@ -268,7 +268,7 @@ int cmd_rebase__interactive(int argc, const char **argv, const char *prefix)
                ret = check_todo_list_from_file(the_repository);
                break;
        case REARRANGE_SQUASH:
-               ret = rearrange_squash(the_repository);
+               ret = rearrange_squash_in_todo_file(the_repository);
                break;
        case ADD_EXEC:
                ret = sequencer_add_exec_commands(the_repository, &commands);