Commit Graph

4 Commits

Author SHA1 Message Date
Alex Ross
d42b85fdc6 Support .git in repo cache and improve language (#275075)
* Support .git in repo cache and improve language
Done while testing https://github.com/microsoft/vscode/issues/274930

* Tests
2025-11-04 16:48:24 +01:00
Alex Ross
a2a6d74b9f Allow git clone command to also always use the cache (#274354)
* Allow git clone command to also always use the cache

* Fix redundant checks
2025-11-02 19:27:13 +01:00
Alex Ross
edf4ea5879 Simplify git clone API (#272912)
- Don't allow to skip the cache
- Only have "none" post commit action
- Consolidate post commit logic
- I ended up keeping the `Uri | null` return type for the `clone` API. It's just too useful, and there's no reason why we couldn't pass it back if the user didn't decide to open the clone and reload the window.
2025-10-23 16:55:21 +02:00
Alex Ross
3cc447e709 Improve layering for git model (#272857)
* Improve layering for git model
- Git clone doesn't belong in the model, removed it
- All the extra repo picking didn't seem to fit into `Git` though, as that is really about git operations
- Added a `CloneUtils` namespace for all the clone stuff to live.

* Update extensions/git/src/clone.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* CloneManager class

* public/private
2025-10-23 16:04:35 +02:00