diff --git a/src/lib.rs b/src/lib.rs index 8929c85..38a750f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -270,7 +270,6 @@ fn run_with_repo(config: &Config, repo: &git2::Repository) -> Result<()> { let target_always_sha: bool = config::fixup_target_always_sha(repo); - hunks_with_commit.sort_by_key(|h| h.dest_commit.id()); // * apply all hunks that are going to be fixed up into `dest_commit` // * commit the fixup // * repeat for all `dest_commit`s