The HACKING file mentions git version 1.4.4 or later is required. But
'./bootstrap' assumes 1.6.4 or later (which is also ancient [1]):

    commit ac8c4111ce570e140c819f231493fa573d3b0904
    Author:     Bruno Haible <[email protected]>
    AuthorDate: Sun Apr 14 00:08:50 2024 +0200
    Commit:     Bruno Haible <[email protected]>
    CommitDate: Sun Apr 14 00:08:50 2024 +0200
    
        bootstrap: Simplify git submodule initialization.
        
        * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Err out if git is
        older than version 1.6.4. Remove fallback code for older versions.
        * build-aux/bootstrap: Regenerated.

I pushed the attached patch to update HACKING. The rest of the file
looks up-to-date.

Collin

[1] https://github.com/git/git/commit/0a53e9ddeaddad63ad106860237bbf53411d11a7

>From afd899cb47c450488d9f9d518c85105d91d5c587 Mon Sep 17 00:00:00 2001
Message-ID: <afd899cb47c450488d9f9d518c85105d91d5c587.1753642587.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Sun, 27 Jul 2025 11:53:42 -0700
Subject: [PATCH] doc: update git version documented in HACKING

* HACKING: Mention that git version 1.6.4 or later is required since
'./bootstrap' will fail otherwise.
---
 HACKING | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/HACKING b/HACKING
index 0c8205fb0..f07903844 100644
--- a/HACKING
+++ b/HACKING
@@ -6,7 +6,7 @@ Prerequisites
 You will need the "git" version control tools.  On Fedora-based
 systems, do "yum install git".  On Debian-based ones install the
 "git-core" package.  Then run "git --version".  If that says it's
-older than version 1.4.4, then you'd do well to get a newer version.
+older than version 1.6.4, then you'd do well to get a newer version.
 At worst, just download the latest stable release from
 https://git-scm.com/ and build from source.
 
-- 
2.50.1

Reply via email to