concourse / semver-resource

automated semantic version bumping
Apache License 2.0
97 stars 105 forks source link

Git driver works very slow with a very very long history repositories #56

Closed antonu17 closed 6 years ago

antonu17 commented 6 years ago

It takes up to 5 minutes or even more when using semver-resource's git driver to clone a repository with a very very long history. Git driver can be improved with following options:

  1. Using git --single-branch option to clone only version's branch history
  2. Enable using of git --depth option to make a shallow clone of repository

I'm going to propose a PR with those changes