[PR #317] --mark-unknown flag for blame #399

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

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

State: closed
Merged: Yes


By default Git AI has marked all non-AI lines as human and attributed them to their commit author.

For some more advanced metrics, you need to distinguish between known AI code, known human code, and unknown (no authorship log for the commit that introduced it). This is esp helpful when analyzing code written before a team adopted Git AI

This PR introduces a --mark-unknown flag to the blame command and a mark_unknown option for the lib callers.

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/317 **State:** closed **Merged:** Yes --- By default Git AI has marked all non-AI lines as human and attributed them to their commit author. For some more advanced metrics, you need to distinguish between known AI code, known human code, and unknown (no authorship log for the commit that introduced it). This is esp helpful when analyzing code written before a team adopted Git AI This PR introduces a `--mark-unknown` flag to the `blame` command and a `mark_unknown` option for the lib callers.
kerem 2026-03-02 04:13:31 +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#399
No description provided.