Skip to content

Commit

Permalink
Merge pull request #900 from narimiran/fix-899
Browse files Browse the repository at this point in the history
fix #899, remove "--shallow-submodules"
  • Loading branch information
Araq authored Feb 19, 2021
2 parents 4c8141e + cf70448 commit 0a207d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimblepkg/download.nim
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ proc doClone(meth: DownloadMethod, url, downloadDir: string, branch = "",
let
depthArg = if onlyTip: "--depth 1 " else: ""
branchArg = if branch == "": "" else: "-b " & branch & " "
doCmd("git clone --recursive --shallow-submodules " & depthArg & branchArg &
doCmd("git clone --recursive " & depthArg & branchArg &
url & " " & downloadDir)
of DownloadMethod.hg:
let
Expand Down

0 comments on commit 0a207d0

Please sign in to comment.