From 29ee493925f8a98af2e51df57b508ba2aefbe9a5 Mon Sep 17 00:00:00 2001
From: "Kyle J. McKay" <mackyle@gmail.com>
Date: Tue, 17 Aug 2021 17:05:17 -0700
Subject: [PATCH] shlib.sh: make var_have_git_250 available

var_have_git_250 will be 1 if Git version 2.5.0 or later is in use.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
---
 shlib.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/shlib.sh b/shlib.sh
index b4954a0..f44af13 100644
--- a/shlib.sh
+++ b/shlib.sh
@@ -127,6 +127,7 @@ get_girocco_config_var_list() (
 	# var_have_git_185	Set to 1 if git version >= 1.8.5 otherwise ''
 	# var_have_git_210	Set to 1 if git version >= 2.1.0 otherwise ''
 	# var_have_git_235	Set to 1 if git version >= 2.3.5 otherwise ''
+	# var_have_git_250	Set to 1 if git version >= 2.5.0 otherwise ''
 	# var_have_git_260	Set to 1 if git version >= 2.6.0 otherwise ''
 	# var_have_git_2101	Set to 1 if git version >= 2.10.1 otherwise ''
 	# var_online_cpus	Girocco::Util::online_cpus or 1 if that fails
@@ -176,6 +177,7 @@ get_girocco_config_var_list() (
 	printf 'var_have_git_185=%s\n' "$([ $(vcmp "$_gver" 1.8.5) -ge 0 ] && echo 1)"
 	printf 'var_have_git_210=%s\n' "$([ $(vcmp "$_gver" 2.1.0) -ge 0 ] && echo 1)"
 	printf 'var_have_git_235=%s\n' "$([ $(vcmp "$_gver" 2.3.5) -ge 0 ] && echo 1)"
+	printf 'var_have_git_250=%s\n' "$([ $(vcmp "$_gver" 2.5.0) -ge 0 ] && echo 1)"
 	printf 'var_have_git_260=%s\n' "$([ $(vcmp "$_gver" 2.6.0) -ge 0 ] && echo 1)"
 	printf 'var_have_git_2101=%s\n' "$([ $(vcmp "$_gver" 2.10.1) -ge 0 ] && echo 1)"
 	__girocco_conf="$GIROCCO_CONF"
-- 
2.11.4.GIT