summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-09-17 11:25:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-09-17 14:34:57 +0900
commitfbc7e935761d892ba6c031256ccbb914963e4ce1 (patch)
tree4c3f295e743322c28e95ef4c8374ab4540abd5f1
parent885860d233954facf47b279f47823aeabbd14c4a (diff)
Already git 2.32 is expected in doc/contributing/building_ruby.md
-rw-r--r--configure.ac5
-rw-r--r--win32/Makefile.sub2
2 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index b035e1688a..6d91d76445 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,10 +113,9 @@ AC_ARG_WITH(git,
{
test x"$HAVE_GIT" = xyes &&
command -v "$GIT" > /dev/null &&
- # `git -C`: 1.8.5
- # `git log --no-show-signature`: 2.10.0
+ # see Dependencies in doc/contributing/building_ruby.md
AS_CASE([`$GIT -C . --version 2> /dev/null | sed 's/.* //'`],
- [0.*|1.*|2.@<:@0-9@:>@.*], [false],
+ [0.*|1.*|2.@<:@0-9@:>@.*|2.@<:@12@:>@@<:@0-9@:>@.*|2.3@<:@01@:>@.*], [false],
[true])
} || HAVE_GIT=no GIT=never-use
AC_SUBST(GIT)
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 81a33277af..917c407a00 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -526,7 +526,7 @@ HAVE_GIT = no
!else if [for /f "tokens=3" %I in ('git --version') do @(\
for /f "delims=. tokens=1-2" %I in ("%I") do @(\
if %I lss 2 (exit 1) else if %I gtr 2 (exit 0) \
- else if %J lss 10 (exit 1) else (exit 0)\
+ else if %J lss 32 (exit 1) else (exit 0)\
)\
)]
HAVE_GIT = no