Skip to content

Conversation

@joaolfp
Copy link
Contributor

@joaolfp joaolfp commented Jan 25, 2026

✨ Summary

Replace clone code Command::new("git") to xx library

πŸ”§ Type of Change

  • ✨ Enhancement
  • 🐞 Bug fix
  • πŸ” Security fix
  • πŸ’₯ Breaking change
  • πŸš€ New feature
  • πŸ“¦ New release
  • πŸ“š Documentation
  • ♻️ Refactor

Note

Moves cloning logic to the xx git library and tidies URL handling.

  • Refactors src/clone.rs to use xx::git::{clone, CloneOptions} instead of spawning git via Command
  • Normalizes repo URL (adds .git if missing) and computes destination path before cloning; early-exits if destination exists
  • Adds xx = "2.3.1" to Cargo.toml; lockfile updated for new transitive dependencies

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

@github-actions
Copy link

πŸŽ‰ All unit tests passed! βœ…

@joaolfp joaolfp merged commit 655c234 into main Jan 25, 2026
2 checks passed
@joaolfp joaolfp deleted the structure/replace-clone-code-to-xx branch January 25, 2026 14:54
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.

2 participants