]> git.ipfire.org Git - thirdparty/git.git/blobdiff - rebase-interactive.c
unpack-trees: also allow get_progress() to work on a different index
[thirdparty/git.git] / rebase-interactive.c
index d86b434b3d20002d023041c63dc43e48747a2351..762853bc7e074cba1ae904790cbc1eb07520f613 100644 (file)
@@ -129,14 +129,14 @@ int edit_todo_list(struct repository *r, struct todo_list *todo_list,
 
        if (incorrect) {
                if (todo_list_check_against_backup(r, new_todo)) {
-                       write_file(rebase_path_dropped(), "");
+                       write_file(rebase_path_dropped(), "%s", "");
                        return -4;
                }
 
                if (incorrect > 0)
                        unlink(rebase_path_dropped());
        } else if (todo_list_check(todo_list, new_todo)) {
-               write_file(rebase_path_dropped(), "");
+               write_file(rebase_path_dropped(), "%s", "");
                return -4;
        }