gabriel / muse public
fix BREAKING fix/push-empty-bundle-ref-update #1 / 1
gabriel · 69 days ago · Apr 7, 2026 · Diff

fix: send local_head in push payload so server can advance ref with empty bundle

When all commits are already on the remote (e.g. commit exists under a different branch), the pack builder sends 0 commits. Without local_head the server has no way to know which commit to point the branch to.

transport.push_pack() gains optional local_head param; _push_mwp() threads it through to the transport call.

sha256:dc8c6246aa6380946cae4206578c5092ff4c38efb36e9b589aa2176f28671cd9 sha
sha256:cfacdbbc9948dafbcdb9b6cc7f0242fa6c930e87e5b824f891972b3211fa718d snapshot
← Older Oldest on fix/push-empty-bundle-ref-update
All commits
Newer → Latest on fix/push-empty-bundle-ref-update

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:dc8c6246aa6380946cae4206578c5092ff4c38efb36e9b589aa2176f28671cd9 --body "your comment"