repo v2.66

81 views
Skip to first unread message

Brian Gan

unread,
Aug 4, 2026, 11:41:12 PM (5 days ago) Aug 4
to repo-d...@googlegroups.com
Hi all,

repo v2.66 has been released: https://gerrit.googlesource.com/git-repo/+/refs/tags/v2.66. I plan to promote it to stable on Thursday, 8/4.

Since the v2.65 release, git-repo (v2.66) includes 12 commits focused on repo sync enhancements, project resolution improvements, and subcommand consistency. Notable additions in sync.py include group-scoped syncing via repo sync -g <group>, a --no-fetch-submodules CLI flag to globally disable submodule fetching, and clearer --recurse-submodules / --no-recurse-submodules flag aliases. In project.py, revisions sync faster by preserving -c (--current-branch) optimizations for SHA-1 targets, fallback HEAD detection dynamically checks Git's default branch instead of hardcoding "refs/heads/master", project.py now supports reftable backend placeholders, and superproject upstream checks are skipped for meta-projects to prevent repo init failures. Additionally, command.py in command.py was updated to declaratively respect smart sync override manifests across subcommands, repo rebase -m now properly resolves target revision expressions to local tracking branches, and hooks.py forwards the -y (--yes) flag to upload hooks for automated non-interactive fixes.

Changelog (link):
d9da609 (Gavin Mak) project: preserve -c optimization when revision is a SHA-1  (tag: v2.66)
4bec297 (Gavin Mak) command: Respect smart sync override declaratively by default
54fa31c (Brian Gan) project: derive HEAD fallback from git's own default branch
29b6630 (Brian Gan) project: make GetHead file-read fallback reftable-aware
0b82311 (Andrew Chant) sync: allow syncing groups with repo sync -g group
06c4f9e (Andrew Chant) git_superproject: don't filter rewritten manifest
dd11303 (Josef Malmström) sync: Deprecate fetch-submodules flag names
eeba6f2 (Rahul Yadav) hooks: pass yes flag when available
1729aae (Ajay Gupta) project: Skip superproject upstream check for MetaProjects
978adb7 (Josef Malmström) sync: Add CLI flag for globally disabling submodule fetch
0398c67 (Brian Gan) color: Replace anonymous sentinel with named class
3bb4871 (Gavin Mak) rebase: Resolve revisionExpr to tracking branch for --onto-manifest

Brian Gan

unread,
Aug 6, 2026, 1:46:53 PM (4 days ago) Aug 6
to Repo and Gerrit Discussion

v2.66 has now been promoted to stable.
Reply all
Reply to author
Forward
0 new messages