grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] bootstrap: Reduce GNULIB Size on Newer GIT
@ 2025-08-23 21:22 Andrew Hamilton
  2025-08-23 21:22 ` [PATCH 1/1] bootstrap: Ensure shallow GNULIB clone Works " Andrew Hamilton
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Hamilton @ 2025-08-23 21:22 UTC (permalink / raw)
  To: grub-devel; +Cc: daniel.kiper, ghetman, Andrew Hamilton

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"
Use a regular expression that will support either.
In the future, when GNULIB version is bumped, this bootstrap
change can be replaced by the latest GNULIB bootstrap script
as it appears GNULIB bootstrap now assumes GIT supports the
depth option. 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>

Andrew Hamilton (1):
  bootstrap: Ensure shallow GNULIB clone Works on Newer GIT

 bootstrap | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.47.2


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-23 22:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-23 21:22 [PATCH 0/1] bootstrap: Reduce GNULIB Size on Newer GIT Andrew Hamilton
2025-08-23 21:22 ` [PATCH 1/1] bootstrap: Ensure shallow GNULIB clone Works " Andrew Hamilton
2025-08-23 21:44   ` Collin Funk
2025-08-23 22:01     ` Andrew Hamilton
2025-08-23 22:34       ` Collin Funk
2025-08-23 22:37         ` Andrew Hamilton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).