Skip to content

Commit

Permalink
Git should just do a shallow clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Norton committed Jun 26, 2015
1 parent 4a4393f commit 2e9ceb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vcs/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (g *GitDriver) Clone(dir, url string) (string, error) {
cmd := exec.Command(
"git",
"clone",
"--depth", "1",
url,
rep)
cmd.Dir = par
Expand Down

0 comments on commit 2e9ceb9

Please sign in to comment.