[MRELEASE-1082] configuration option for using a shallow clone by BigMichi1 · Pull Request #121 · apache/maven-release (original) (raw)

Following this checklist to help us incorporate your
contribution quickly and easily:

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

This patch makes the shallow clone option configurable while still having the default of true. This is useful and needed when running for example a SonarQube analysis during the release process. When the option is true like the current hardcoded default the analyzer complains about missing blame information. If the full history is needed the option can now be set to false to get the full history.