Skip to content

Commit ec62a15

Browse files
authored
Merge pull request #123 from rbartlensky/rb/off-by-one
Don't sort hunks based on dest_commit.
2 parents 7574416 + 3aeb8c5 commit ec62a15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ fn run_with_repo(logger: &slog::Logger, config: &Config, repo: &git2::Repository
273273

274274
let target_always_sha: bool = config::fixup_target_always_sha(repo);
275275

276-
hunks_with_commit.sort_by_key(|h| h.dest_commit.id());
277276
// * apply all hunks that are going to be fixed up into `dest_commit`
278277
// * commit the fixup
279278
// * repeat for all `dest_commit`s

0 commit comments

Comments
 (0)