Skip to content

Add git gdk doctor check

Ash McKenzie requested to merge 847-follow-up-from-upgrade-to-git-2-26-2 into master

What does this Merge Request do?

This MR adds a git gdk doctor check that checks if the minimum version is installed as well as suggestion to use the ideal version if necessary:

git 2.21.0 is installed

$ gdk doctor
Git
--------------------------------------------------------------------------------
Git version 2.21.0 is too old.  You need at least 2.22.0.

git 2.23.0 is installed

$ gdk doctor
Git
--------------------------------------------------------------------------------
Git version 2.23.0 is OK but at least 2.26.0 is recommended.

Merge Request checklist

  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.

Closes #847 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading