Record the caller's metadata on a merge's auto commit - #198
Open
jochenhz wants to merge 1 commit into
Open
Conversation
A diverged `sync` and a clean `branch merge` commit on the caller's behalf and stamp `created-by` with the connecting identity. A client that connects as an account id rather than a user name cannot name the author, as it can for a plain commit through `commit_with_metadata`. Carry the same key/value/format triple through `SyncOptions` and `MergeStartOptions` into the auto commit. Empty metadata changes nothing. Signed-off-by: Jochen Hunz <j.hunz@anchorpoint.app>
jochenhz
force-pushed
the
ap/merge-commit-authorship-metadata-main
branch
from
September 9, 2026 18:20
1ec1f1a to
62e9570
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A diverged
syncand a cleanbranch mergecommit on the caller's behalf and stampcreated-bywith the connecting identity. A client that connects as an account id rather than a user name cannot name the author, as it can for a plain commit throughcommit_with_metadata.Carry the same key/value/format triple through
SyncOptionsandMergeStartOptionsinto the auto commit. Empty metadata changes nothing.