diff options
| author | Daniel Bendel <d.bendel@pso-vertrieb.de> | 2021-04-15 10:15:47 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-04-15 16:56:49 +0200 |
| commit | 06af7daf1832b543cf1e5980d36dff2e5adf008e (patch) | |
| tree | 29a006cf0998489f8b15c0f8f5eee75d6e54ffaf /lua/nvim-treesitter/shell_command_selectors.lua | |
| parent | 5ff8535bb4854568bab12d08c4f4f6c3855863c4 (diff) | |
remove single-branch and branch arguments on git call
Diffstat (limited to 'lua/nvim-treesitter/shell_command_selectors.lua')
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index d3a12997..c364c771 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -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 } |
