Integrated: SKARA-461: Do a git version check

Jorn Vernee jvernee at
Thu Jul 30 10:55:02 UTC 2020

On Wed, 29 Jul 2020 11:38:27 GMT, Jorn Vernee <jvernee at> wrote:

> Hi,
> This PR adds a git version check to the `git skara` CLI. This will print a warning if the git version is not a known
> working version. Since outdated versions can lead to IOExceptions due to e.g. unsupported git CLI options, hopefully
> the warning message will help to inform users about their use of an unsupported git version, and a potential way to
> solve the problem i.e. upgrading to a more recent version.  Currently at least git 2.22 is required since we use the
> `--combined-all-paths` option of git log (see GitCommits), which was added in 2.22.  Thanks,
> Jorn

This pull request has now been integrated.

Changeset: a813417a
Author:    Jorn Vernee <jvernee at>
Stats:     268 lines in 5 files changed: 0 ins; 268 del; 0 mod

461: Do a git version check

Reviewed-by: kcr, rwestberg



More information about the skara-dev mailing list