[PR #427] feat: add quiet config option to suppress chart output after commits #460

Closed
opened 2026-03-02 04:13:41 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/427

State: closed
Merged: Yes


Summary

  • Adds a new quiet configuration option to suppress the "you vs AI %" chart displayed after commits
  • Users can enable with git-ai config set quiet true

Changes

  • Added quiet field to Config and FileConfig structs
  • Added is_quiet() accessor method
  • Wired up quiet config in post_commit to suppress chart output
  • Added config command support (get/set/unset)
  • Added unit tests for quiet config and parse_bool function

Usage

git-ai config set quiet true   # Enable quiet mode
git-ai config set quiet false  # Disable quiet mode  
git-ai config quiet            # Check current value
git-ai config unset quiet      # Reset to default (false)

Testing

  • Tested locally with task debug:local
  • Verified chart appears with quiet: false (default)
  • Verified chart is suppressed with quiet: true
  • All existing tests pass
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/427 **State:** closed **Merged:** Yes --- ## Summary - Adds a new `quiet` configuration option to suppress the "you vs AI %" chart displayed after commits - Users can enable with `git-ai config set quiet true` ## Changes - Added `quiet` field to Config and FileConfig structs - Added `is_quiet()` accessor method - Wired up quiet config in post_commit to suppress chart output - Added config command support (get/set/unset) - Added unit tests for quiet config and parse_bool function ## Usage ```bash git-ai config set quiet true # Enable quiet mode git-ai config set quiet false # Disable quiet mode git-ai config quiet # Check current value git-ai config unset quiet # Reset to default (false) ``` ## Testing - Tested locally with `task debug:local` - Verified chart appears with `quiet: false` (default) - Verified chart is suppressed with `quiet: true` - All existing tests pass
kerem 2026-03-02 04:13:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#460
No description provided.