]> git.ipfire.org Git - thirdparty/grub.git/commit
bootstrap: Ensure shallow gnulib clone works on newer git
authorAndrew Hamilton <adhamilt@gmail.com>
Mon, 25 Aug 2025 01:38:41 +0000 (20:38 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 4 Sep 2025 12:37:21 +0000 (14:37 +0200)
commit02788bfdf95e885c7a7b0f4155b2910f1f1ec62f
treec868a72afe1096da123cf0f68664d3e32987f8e6
parent4e42199f35005979c7c9773828d2051941a605f4
bootstrap: Ensure shallow gnulib clone works on newer git

Update the bootstrap script to be compatible with newer versions of git
that changed the "git clone -h" output from containing:

  --depth

to:

  --[no-]depth

This bootstrap script is pulled the latest gnulib version from gnulib
git, commit 9a1a6385 (Silence 'time-stamp' warnings with bleeding-edge
Emacs.). This change avoids a full clone on gnulib, saving something
like 50 MB.

Fixes: https://savannah.gnu.org/bugs/?66357
Signed-off-by: Andrew Hamilton <adhamilt@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
bootstrap