Commit Graph
10 Commits
Author SHA1 Message Date
Dean b7681c0cb1 Merge pull request #10380 from Bram910/fix/main-sync-squash-prs
fix(tools): report squash-merged PRs in main sync checks
2026-10-26 11:04:02 +13:00
roboterspinne dfd99b7cb5 fix(tools): name a missing head instead of reporting no common ancestor in check_main_sync
report() turned every nonzero exit of git merge-base into "<head> and
<base> have no common ancestor", so a mistyped or unfetched --head, a
tree or a blob was reported as unrelated history and git's own error was
dropped. Now only exit status 1 keeps that message, and any other
failure raises "git merge-base failed: <stderr>" like the merge-tree
call in conflicts(). git merge-base returns 1 when the histories share
no commit and dies with 128 when a revision does not resolve to a
commit. The tool still exits 2 in both cases, and
test_unrelated_histories_are_an_error now also checks that an invalid
head reports git's own merge-base error and not a missing common
ancestor.
2026-10-24 22:28:37 +02:00
Bram910 c9ace48eb7 fix(tools): report squash-merged PRs in main sync checks 2026-10-23 22:05:30 +02:00
Dean fc9d8308a1 Merge pull request #9689 from jotitadev/fix/main-sync-pulls-from-subdirectory
fix(tools): read check_main_sync paths from the top of the repository
2026-10-23 19:26:46 +13:00
Jota 893dba7850 fix(tools): read check_main_sync paths from the top of the repository 2026-10-22 05:29:25 -03:00
emirplus 87465459f0 fix(tools): wrap entrypoint in main with stream reconfigure in check_main_sync 2026-10-21 20:58:45 +03:00
emirplus 6de562f8a3 fix(tools): fetch upstream tracking base before resolving default base 2026-10-19 18:51:14 +03:00
GalaxyGamingFRandClaude Opus 5.5 a70dea62e7 fix(check_main_sync): fetch an explicit --base before resolving it
main() resolved the base before running --fetch, so an explicit base on a
remote that was never fetched failed with "no base ref found" and never
fetched. The fetch is now a local helper and runs first when --base is
given; the default base still resolves first, then fetches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 14:01:15 -07:00
Tomás Ortellado 758e69b567 fix(tools): preserve main sync reports on limited encodings 2026-10-15 10:12:46 -03:00
Dextroid17 851b66bb2a feat(tools): report whether a branch is in step with main 2026-10-13 09:40:20 -04:00