[PR #74] [MERGED] migration to git notes #246

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

📋 Pull Request Information

Original PR: https://github.com/git-ai-project/git-ai/pull/74
Author: @acunniffe
Created: 10/5/2025
Status: Merged
Merged: 10/5/2025
Merged by: @svarlamov

Base: mainHead: feat/git-notes-for-authorship


📝 Commits (4)

📊 Changes

11 files changed (+135 additions, -174 deletions)

View changed files

📝 .github/workflows/test.yml (+1 -7)
📝 src/authorship/post_commit.rs (+5 -11)
📝 src/authorship/rebase_authorship.rs (+8 -70)
src/authorship/snapshots/git_ai__authorship__rebase_authorship__tests__in_order.snap.new (+13 -0)
src/authorship/snapshots/git_ai__authorship__rebase_authorship__tests__with_out_of_band_commits.snap.new (+13 -0)
📝 src/commands/blame.rs (+2 -3)
📝 src/commands/stats_delta.rs (+9 -17)
📝 src/git/refs.rs (+80 -58)
📝 src/git/repository.rs (+0 -1)
📝 src/git/test_utils/mod.rs (+4 -6)
tests/gitflow-repo (+0 -1)

📄 Description

We decided to move to git notes ahead of 1.0 for a few reasons

  • authorship refs are under a tree leading to faster lookup.
  • gc and tools that reduce size of git repos are not likely to delete notes

Practically it's not much different, but feel like it's good to move the project this direction before marking 1.0


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/git-ai-project/git-ai/pull/74 **Author:** [@acunniffe](https://github.com/acunniffe) **Created:** 10/5/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@svarlamov](https://github.com/svarlamov) **Base:** `main` ← **Head:** `feat/git-notes-for-authorship` --- ### 📝 Commits (4) - [`3dc1694`](https://github.com/git-ai-project/git-ai/commit/3dc1694a31ca02420895e77d8531ad3d241b1e8b) migration to git notes - [`426214d`](https://github.com/git-ai-project/git-ai/commit/426214d4c3ad2af979cca95d8abe9a013257a0b4) remove submodule - [`752223f`](https://github.com/git-ai-project/git-ai/commit/752223fc1c059664b92a26cfc73a6269acee4805) fix refspec - [`e400d93`](https://github.com/git-ai-project/git-ai/commit/e400d937c23933f9f133e36971ff158ffee02314) fix refspec ### 📊 Changes **11 files changed** (+135 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+1 -7) 📝 `src/authorship/post_commit.rs` (+5 -11) 📝 `src/authorship/rebase_authorship.rs` (+8 -70) ➕ `src/authorship/snapshots/git_ai__authorship__rebase_authorship__tests__in_order.snap.new` (+13 -0) ➕ `src/authorship/snapshots/git_ai__authorship__rebase_authorship__tests__with_out_of_band_commits.snap.new` (+13 -0) 📝 `src/commands/blame.rs` (+2 -3) 📝 `src/commands/stats_delta.rs` (+9 -17) 📝 `src/git/refs.rs` (+80 -58) 📝 `src/git/repository.rs` (+0 -1) 📝 `src/git/test_utils/mod.rs` (+4 -6) ➖ `tests/gitflow-repo` (+0 -1) </details> ### 📄 Description We decided to move to git notes ahead of 1.0 for a few reasons - authorship refs are under a tree leading to faster lookup. - gc and tools that reduce size of git repos are not likely to delete notes Practically it's not much different, but feel like it's good to move the project this direction before marking 1.0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:13:04 +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#246
No description provided.