Skip to content

Commit fbc7e93

Browse files
committed
Already git 2.32 is expected in doc/contributing/building_ruby.md
1 parent 885860d commit fbc7e93

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

configure.ac

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,9 @@ AC_ARG_WITH(git,
113113
{
114114
test x"$HAVE_GIT" = xyes &&
115115
command -v "$GIT" > /dev/null &&
116-
# `git -C`: 1.8.5
117-
# `git log --no-show-signature`: 2.10.0
116+
# see Dependencies in doc/contributing/building_ruby.md
118117
AS_CASE([`$GIT -C . --version 2> /dev/null | sed 's/.* //'`],
119-
[0.*|1.*|2.@<:@0-9@:>@.*], [false],
118+
[0.*|1.*|2.@<:@0-9@:>@.*|2.@<:@12@:>@@<:@0-9@:>@.*|2.3@<:@01@:>@.*], [false],
120119
[true])
121120
} || HAVE_GIT=no GIT=never-use
122121
AC_SUBST(GIT)

win32/Makefile.sub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ HAVE_GIT = no
526526
!else if [for /f "tokens=3" %I in ('git --version') do @(\
527527
for /f "delims=. tokens=1-2" %I in ("%I") do @(\
528528
if %I lss 2 (exit 1) else if %I gtr 2 (exit 0) \
529-
else if %J lss 10 (exit 1) else (exit 0)\
529+
else if %J lss 32 (exit 1) else (exit 0)\
530530
)\
531531
)]
532532
HAVE_GIT = no

0 commit comments

Comments
 (0)