[PR #226] Enable git-ai when GIT_TRACE is on #339

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

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

State: closed
Merged: No


Summary

This PR enables git-ai debug logging when the GIT_TRACE environment variable is set. This allows developers debugging Git operations to automatically see git-ai debug output without needing to set additional environment variables.

Changes

  • Added GIT_TRACE environment variable check to is_debug_enabled() function
  • Added GIT_TRACE environment variable check to is_debug_performance_enabled() function
  • Updated documentation comment to reflect that GIT_TRACE now enables debug logging
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/226 **State:** closed **Merged:** No --- ## Summary This PR enables git-ai debug logging when the `GIT_TRACE` environment variable is set. This allows developers debugging Git operations to automatically see git-ai debug output without needing to set additional environment variables. ## Changes - Added `GIT_TRACE` environment variable check to `is_debug_enabled()` function - Added `GIT_TRACE` environment variable check to `is_debug_performance_enabled()` function - Updated documentation comment to reflect that `GIT_TRACE` now enables debug logging
kerem 2026-03-02 04:13:20 +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#339
No description provided.