Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle nested .git directories in uv init #11785

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mason-fabel
Copy link

Summary

Test Plan

  • Verified locally
  • Passes github CI

@@ -332,6 +332,9 @@ impl TestContext {

let root = tempfile::TempDir::new_in(bucket).expect("Failed to create test root directory");

fs_err::create_dir_all(root.path().join(".git"))
Copy link
Author

Choose a reason for hiding this comment

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

From #11761

@mason-fabel mason-fabel marked this pull request as draft February 27, 2025 03:57
@mason-fabel mason-fabel marked this pull request as ready for review February 27, 2025 04:27
@charliermarsh charliermarsh requested a review from zanieb February 28, 2025 03:00
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.

uv init fails to create .git directory or .gitignore file when inside git repo
1 participant