mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
remove single-branch and branch arguments on git call
This commit is contained in:
parent
5ff8535bb4
commit
06af7daf18
1 changed files with 1 additions and 3 deletions
|
|
@ -185,8 +185,6 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
|
|||
opts = {
|
||||
args = {
|
||||
'clone',
|
||||
'--single-branch',
|
||||
'--branch', repo.branch or 'master',
|
||||
repo.url,
|
||||
project_name
|
||||
},
|
||||
|
|
@ -199,7 +197,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
|
|||
err = 'Error while checking out revision',
|
||||
opts = {
|
||||
args = {
|
||||
'checkout', revision
|
||||
'checkout', revision,
|
||||
},
|
||||
cwd = git_folder
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue