дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
feat(vcs): redesign the Clone Repository dialog and support shallow clones (#866)
Clone Repository gets IntelliJ's layout: a source list on the left, a version-control selector, URL history, a directory picker, and a shallow-clone option (history truncated to N commits, git clone --depth N). Entries for hosting platforms without backend support were removed. Co-authored-by: whyareyouserious <[email protected]>
Цей коміт міститься в:
1 джерело
f5e12238bb
коміт
09402e3e95
9 files changed
+424
-84
No files matched your search
@@ -355,9 +355,10 @@ pub async fn vcs_clone(
|
||||
request: RequestId,
|
||||
url: String,
|
||||
dest: PathBuf,
|
||||
depth: Option<u32>,
|
||||
on_output: Channel<String>,
|
||||
) -> IdeResult<()> {
|
||||
ide_host::ops::vcs::vcs_clone(&state.host, "", request, url, dest, crate::commands::sender(on_output)).await
|
||||
ide_host::ops::vcs::vcs_clone(&state.host, "", request, url, dest, depth, crate::commands::sender(on_output)).await
|
||||
}
|
||||
|
||||
/// `git init` in `dir` (File › New Project… "Create Git repository").
|
||||
|
||||
Reference in new issue
Заблокувати користувача