Skip to content

Conversation

@stefanhaller
Copy link
Collaborator

If the ctrl-f command ("Find base commit for fixup") finds multiple candidates, it lists them all in an error message. Previously they were listed in random order in the error message, which can be confusing; it's nicer to see them in the same order in which they appear in the commit log.

Fixes #5071.

@codacy-production
Copy link

codacy-production bot commented Nov 27, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 28cd1c21 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (28cd1c2) Report Missing Report Missing Report Missing
Head commit (26453b2) 59209 51501 86.98%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5073) 21 21 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

We want to test the order in which the commits are listed in the error message.
For one of the tests the order is already as we want it, but for the other it's
not (we want them to show up in log order). We'll fix this in the next commit.
@stefanhaller stefanhaller force-pushed the show-fixup-base-commits-in-correct-order branch from e84b2bf to 26453b2 Compare November 30, 2025 13:06
@stefanhaller stefanhaller merged commit d1d2bb2 into master Nov 30, 2025
13 checks passed
@stefanhaller stefanhaller deleted the show-fixup-base-commits-in-correct-order branch November 30, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Order base commits for fixup based on how they appear in the log

2 participants