Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rebase-interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,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;
}

Expand Down