Add git-ai author config override#1555
Merged
Merged
Conversation
78f687b to
8bd81ac
Compare
svarlamov
added a commit
that referenced
this pull request
Jun 14, 2026
…n sites The rebase onto origin/main pulled in the author-config feature (#1555), which replaced `git_author_identity()` with `effective_author_identity()` (the former plus git-ai's author.name/author.email override) at every author-resolution site. Three of main's four daemon.rs change sites fell inside blocks our rewrite deletes (stale carryover/dead-machinery paths), so the override intent did not reach our surviving attribution sites. Apply the same change to the surviving sites: the 7 daemon.rs author resolutions feeding post_commit_*/restore_working_log_carryover and the squash author in rewrite.rs now use effective_author_identity(), so a configured author override flows into authorship notes and working-log records. blame.rs/status.rs kept main's change via clean auto-merge; the internal call inside effective_author_identity() itself is left as git_author_identity(). Verified by test_author_config_overrides_session_and_known_human_records. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
author.nameandauthor.emailconfig support, including CLI get/set/unset flows.git-ai debugoutput.Validation
task fmttask buildtask test TEST_FILTER=author_configtask test TEST_FILTER=append_git_committer_identitytask linttask test