[GH-ISSUE #211] Squash Authorship should not add an empty Authorship log when no authorship logs in squashed commits #81

Open
opened 2026-03-02 04:11:42 +03:00 by kerem · 0 comments
Owner

Originally created by @acunniffe on GitHub (Nov 11, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/211

Current behavior: If an engineer makes 5 commits (without git ai installed), CI command and the bot will add an empty authorship log.

Desired behavior:

  • If there are no authorship logs for the 5 commits being squashed, do not write an empty one
  • If there are any authorship logs (even blank ones indicating all-human), write an empty one
  • If there are authorship logs with AI attributions, write one when squashing
Originally created by @acunniffe on GitHub (Nov 11, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/211 Current behavior: If an engineer makes 5 commits (without git ai installed), CI command and the bot will add an empty authorship log. Desired behavior: - If there are no authorship logs for the 5 commits being squashed, do not write an empty one - If there are any authorship logs (even blank ones indicating all-human), write an empty one - If there are authorship logs with AI attributions, write one when squashing
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#81
No description provided.