Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #73 from duck8823/feature/speedup_clone
Browse files Browse the repository at this point in the history
Shallow clone to make it faster
  • Loading branch information
duck8823 authored Aug 26, 2018
2 parents 14b086c + 7585901 commit 14708df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (s *sshGitClient) Clone(ctx context.Context, dir string, sshUrl string, ref
Auth: s.auth,
Progress: &ProgressLogger{ctx.UUID()},
ReferenceName: plumbing.ReferenceName(ref),
Depth: 1,
})
if err != nil {
return plumbing.Hash{}, errors.WithStack(err)
Expand Down

0 comments on commit 14708df

Please sign in to comment.