From 61539788634017f4c4f8fe45cbe7d00274b35cb1 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 18 Mar 2018 17:12:06 +0100 Subject: Require git 2.16 --- README.md | 2 +- bin/incremental-git-filterbranch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a22efcc..91294d0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the first time `filter-branch` still requires some time, but following calls can ## Requirements -- git 2.5.0 or newer +- git 2.16.0 or newer - common commands (`sed`, `grep`, `md5sum`, `cut`, ...) diff --git a/bin/incremental-git-filterbranch b/bin/incremental-git-filterbranch index e0daec4..2caae24 100755 --- a/bin/incremental-git-filterbranch +++ b/bin/incremental-git-filterbranch @@ -379,7 +379,7 @@ checkEnvironment () { else die 'The required md5sum (or md5) command is not available.' fi - checkEnvironment_vMin='2.15.0' + checkEnvironment_vMin='2.16.0' checkEnvironment_vCur=$(git --version | cut -d ' ' -f3) checkEnvironment_vWork=$(printf '%s\n%s' "${checkEnvironment_vCur}" "${checkEnvironment_vMin}" | sort -t '.' -n -k1,1 -k2,2 -k3,3 -k4,4 | head -n 1) if test "${checkEnvironment_vWork}" != "${checkEnvironment_vMin}" -- cgit v1.2.3