gabriel / muse public
fix patch commit task/ax-commit-author-from-config #1 / 1
gabriel · 164 days ago · Apr 16, 2026 · Diff

fix(commit): read user.name from config as default author

When --author is not explicitly supplied, muse commit now reads user.name from the repo (or global) config. This means muse log --json always has a non-empty author field and --author filtering works as expected.

sha256:b55fcb81938e4984118f3769ee7b0db197724643e819e094f353641ef6d9fd44 sha
+8 ~1 symbols
sha256:261f899f6f7de6a4f2a03e775ad385c7851ebd4082f56aa61b9201e647131b37 snapshot
+8
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 9 symbols
~ muse/cli/commands/commit.py .py 1 symbol added, 1 symbol modified
+ get_config_value import import get_config_value L40–40
~ run
~ tests/test_cmd_log.py .py 7 symbols added
+ TestAuthorField class class TestAuthorField L572–607
+ test_author_filter_nonexistent_returns_no_commits method method test_author_filter_nonexistent_returns_no_commits L601–607
+ test_author_filter_returns_matching_commits method method test_author_filter_returns_matching_commits L591–599
+ test_commit_reads_user_name_from_config method method test_commit_reads_user_name_from_config L583–589
+ test_commit_with_explicit_author_appears_in_log method method test_commit_with_explicit_author_appears_in_log L575–581
+ _commit_as function function _commit_as L544–554
+ _commit_with_config_author function function _commit_with_config_author L557–569
← Older Oldest on task/ax-commit-author-from-config
All commits
Newer → Latest on task/ax-commit-author-from-config

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:b55fcb81938e4984118f3769ee7b0db197724643e819e094f353641ef6d9fd44 --body "your comment"