Skip to content

Conversation

@andy1li
Copy link
Member

@andy1li andy1li commented Jan 14, 2026

Issue:

When users have .git in their gitignore files, it breaks the CLI.


Note

Prevents accidental exclusion of repository metadata when copying or processing repos.

  • Updates SkipFile in internal/utils/git_ignore.go to always return false for .git and nested paths, overriding matches from local/global .gitignore and info/exclude

Written by Cursor Bugbot for commit b7bb2e2. This will update automatically on new commits. Configure here.

… skipped. This change improves the handling of ignored files by explicitly allowing the .git directory, even if specified in .gitignore files.
@andy1li andy1li self-assigned this Jan 14, 2026
@andy1li andy1li requested a review from rohitpaulk January 14, 2026 01:22
…s contents. This update ensures that any files within the .git directory are treated correctly, improving the handling of ignored files in version control.
Copy link
Member

@rohitpaulk rohitpaulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andy1li let's add tests for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants