[PR #367] feat: auto-detect .git-blame-ignore-revs for git-ai blame #430

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

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

State: closed
Merged: Yes


For supported git versions (>= 2.23), git-ai blame now automatically passes --ignore-revs-file to git blame when a .git-blame-ignore-revs file exists in the repository root.

This matches GitHub's behavior for ignoring commits in blame view.

Detection priority:

  1. User-provided --ignore-revs-file (explicit)
  2. Git config blame.ignoreRevsFile setting
  3. .git-blame-ignore-revs file in repo root

Added --no-ignore-revs-file flag to opt-out of auto-detection.

Fixes #363

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/367 **State:** closed **Merged:** Yes --- For supported git versions (>= 2.23), git-ai blame now automatically passes --ignore-revs-file to git blame when a .git-blame-ignore-revs file exists in the repository root. This matches GitHub's behavior for ignoring commits in blame view. Detection priority: 1. User-provided --ignore-revs-file (explicit) 2. Git config blame.ignoreRevsFile setting 3. .git-blame-ignore-revs file in repo root Added --no-ignore-revs-file flag to opt-out of auto-detection. Fixes #363
kerem 2026-03-02 04:13:36 +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#430
No description provided.