aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fetch/git.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fetch/git.lua b/src/luarocks/fetch/git.lua
index e540d696..a635f190 100644
--- a/src/luarocks/fetch/git.lua
+++ b/src/luarocks/fetch/git.lua
@@ -68,7 +68,7 @@ function git.get_sources(rockspec, extract, dest_dir, depth)
68 if git_can_clone_by_tag(git_cmd) then 68 if git_can_clone_by_tag(git_cmd) then
69 -- The argument to `--branch` can actually be a branch or a tag as of 69 -- The argument to `--branch` can actually be a branch or a tag as of
70 -- Git 1.7.10. 70 -- Git 1.7.10.
71 table.insert(command, 4, "--branch=" .. tag_or_branch) 71 table.insert(command, 3, "--branch=" .. tag_or_branch)
72 end 72 end
73 end 73 end
74 if not fs.execute(unpack(command)) then 74 if not fs.execute(unpack(command)) then