diff options
author | Björn-Egil Dahlberg <egil@erlang.org> | 2016-12-02 14:36:00 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <psyeugenic@gmail.com> | 2016-12-07 22:26:05 +0100 |
commit | 7780933cfb78fde053ec7c69ba8a20ac14535cf0 (patch) | |
tree | 3e411bfc99507779d8fe14d38039bb8287c02872 /pr2relnotes.sh | |
parent | 9f7e79d8157db06b3b03e033db87c2e811d938d2 (diff) |
Use different git commands for different git versions
The option --single-branch was introduced in git version 1.7.10 and
thus rebar3 cannot fetch git dependencies on systems where earlier
git versions are install.
This commit will select other git clone commands if an earlier git
version is detected. If the git version cannot be determined rebar3
falls back on the previous behavior and uses --single-branch.
Diffstat (limited to 'pr2relnotes.sh')
0 files changed, 0 insertions, 0 deletions