git-ai
git-ai copied to clipboard
Checkpoints are triggered by Cursor hooks for repos in excluded_repositories list
Hook output in Cursor.
...
OUTPUT:
(empty)
STDERR:
ai_agent cursor changed 1 file(s) that have changed since the last commit
Checkpoint completed in 378.25825ms
Hook execution directory matches ~/.cursor. Therefore, find_repository_in_path doesn't find correct repo here https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L28. and checkpoint is not skipped here: https://github.com/acunniffe/git-ai/blob/main/src/commands/git_ai_handlers.rs#L60