Skip to content

(#1088) post-rewrite hook does not track intermediate commits from an interactive rebase#1419

Merged
claytonrcarter merged 4 commits intoarxanas:masterfrom
chf2117:cs-1088
Sep 18, 2025
Merged

(#1088) post-rewrite hook does not track intermediate commits from an interactive rebase#1419
claytonrcarter merged 4 commits intoarxanas:masterfrom
chf2117:cs-1088

Conversation

@chf2117
Copy link
Contributor

@chf2117 chf2117 commented Oct 10, 2024

Fixes #1088

This pull request copies the changes from #1098 and addresses arxanas' comments.

I was able to repro the issue from #1088. It seems that we are tracking the intermediate commits created by a rebase and adding them to the events db during the post rewrite hook. I noticed that this code was added to prevent aborted rebases from adding intermediate commits, but the test written for that still passes.

@arxanas
Copy link
Owner

arxanas commented Oct 14, 2024

Will look at this later, want to get the next release out soon

@chf2117
Copy link
Contributor Author

chf2117 commented Feb 18, 2025

Bump!

@chf2117
Copy link
Contributor Author

chf2117 commented Sep 16, 2025

@arxanas friendly bump!

@claytonrcarter I see that you've been active recently. If possible could you take a look?

@claytonrcarter claytonrcarter merged commit d707b11 into arxanas:master Sep 18, 2025
13 checks passed
@claytonrcarter
Copy link
Collaborator

Thanks for this. I've confirmed that the test fails on master but passes here. Also that the outstanding review comments were addressed.

I wonder if this will make #1022 easier to implement; I recall that that tended to leave a lot a intermediate commits lying around. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git rebase -i "fixup" strands a bunch of commits after squashing

3 participants