Re: [PATCH] bootstrap: When a commit hash is specified, do a shallow fetch if possible

2022-01-05 Thread Glenn Washburn
Hi Bruno, On Wed, 05 Jan 2022 11:50:13 +0100 Bruno Haible wrote: > Hi Glenn, > > In this thread, on 2021-10-24 I replied: > > > I'm thinking of replacing the current comment with > > > something along the lines of: > > > > > > Git does not support cloning by commit hash. So attempt a shallow

[PATCH v2] bootstrap: When a commit hash is specified, do a shallow fetch if possible

2021-10-25 Thread Glenn Washburn
ort/index.php?110553#comment1 [2] https://stackoverflow.com/a/3489576/2108011 Signed-off-by: Glenn Washburn --- Changes since v1: * Updated commit message to reflect that the official repo now has support for fetch by commit hash. * Update comment in source per Bruno's suggestion. Glenn --- Ra

Re: [PATCH] bootstrap: When a commit hash is specified, do a shallow fetch if possible

2021-10-24 Thread Glenn Washburn
Hi Bruno, On Sat, 23 Oct 2021 00:20:32 +0200 Bruno Haible wrote: > Hi Glenn, > > > The gnulib sources are large but more importantly have lots of changes. So > > initial checkout of the repository can take a long time when network or > > cpu resources are limited. The later is especially acute

Re: [PATCH] bootstrap: When a commit hash is specified, do a shallow fetch if possible

2021-10-22 Thread Glenn Washburn
On Thu, 21 Oct 2021 13:31:31 -0500 Glenn Washburn wrote: > The gnulib sources are large but more importantly have lots of changes. So > initial checkout of the repository can take a long time when network or > cpu resources are limited. The later is especially acute in a non-KVM QEMU

[PATCH] bootstrap: When a commit hash is specified, do a shallow fetch if possible

2021-10-21 Thread Glenn Washburn
tps://savannah.nongnu.org/support/index.php?110553 [4] https://github.com/coreutils/gnulib Signed-off-by: Glenn Washburn --- Hi list, This patch can have a dramatic performance improvement in checking out gnulib sources via bootstrap. These changes use the git -C which was introduced in 2013 in v1.8.5, s