-
Notifications
You must be signed in to change notification settings - Fork 604
Use gix for cloning repositories #4708
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
506ce64
to
2316d0f
Compare
It sure lures you into thinking that 😅. However, you actually have to configure something to be sure it truly works, particularly on Windows. The variable of interest here is To get clone to work, it must be done like this though. In future, That should be all the gotchas I can think of right now. |
@Byron Could you show me how to provide that argument? I'm finding the gix documentation quite hard to dig through. |
Actually, I was wrong, and since cloning always needs the git binary installation configuration, it will automatically use it. Also sorry for confusing opening a repository with cloning it - the APIs are very different and it's not obvious how to affect the open-options (but it's possible with Maybe the backend could check for azure-devops HTTPS URLs and use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Looking through my emails this morning I saw this comment from @Byron on cloning azure devops #2651 (comment) (source gix issue: GitoxideLabs/gitoxide#1025) repositories not working through gix. It however made me think: Currently in GitButler, both cloning via SSH URLs and cloning private repositories doesn't work. It also got me wondering if switching to gix, despite the aforementioned issue, could be a quick and easy win that would resolve a large majority of the issues with the current setup. After trying it out, it works pretty much perfectly.