From 2ed950d5d8e2c34582e5e0aa28a19c7db71b6075 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sat, 23 Jul 2016 11:40:05 -0700 Subject: [PATCH] shlib.sh: set var_have_git_1710 If the git version is >= 1.7.10 var_have_git_1710 is now set. Signed-off-by: Kyle J. McKay --- shlib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shlib.sh b/shlib.sh index ddc246e..19ab878 100644 --- a/shlib.sh +++ b/shlib.sh @@ -70,6 +70,7 @@ get_girocco_config_var_list() ( # var_have_git_171 Set to 1 if git version >= 1.7.1 otherwise '' # var_have_git_172 Set to 1 if git version >= 1.7.2 otherwise '' # var_have_git_173 Set to 1 if git version >= 1.7.3 otherwise '' + # var_have_git_1710 Set to 1 if git version >= 1.7.10 otherwise '' # var_have_git_185 Set to 1 if git version >= 1.8.5 otherwise '' # var_window_memory Value to use for repack --window-memory= # var_big_file_threshold Value to use for core.bigFileThreshold @@ -91,6 +92,7 @@ get_girocco_config_var_list() ( printf 'var_have_git_171=%s\n' "$([ $(vcmp "$_gver" 1.7.1) -ge 0 ] && echo 1)" printf 'var_have_git_172=%s\n' "$([ $(vcmp "$_gver" 1.7.2) -ge 0 ] && echo 1)" printf 'var_have_git_173=%s\n' "$([ $(vcmp "$_gver" 1.7.3) -ge 0 ] && echo 1)" + printf 'var_have_git_1710=%s\n' "$([ $(vcmp "$_gver" 1.7.10) -ge 0 ] && echo 1)" printf 'var_have_git_185=%s\n' "$([ $(vcmp "$_gver" 1.8.5) -ge 0 ] && echo 1)" __girocco_conf="$GIROCCO_CONF" [ -n "$__girocco_conf" ] || __girocco_conf="Girocco::Config" -- 2.11.4.GIT