diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2019-03-22 13:05:53 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2019-03-22 13:10:05 +0100 |
commit | b9b44533fbf7c7752ffd255c3d09cc360e24183b (patch) | |
tree | 6dcd7842a823c2ce8708915087a9fb84c1dc48c7 | |
parent | 544fc0e2c2a03129a540aebef41ad32bfb5c06b8 (diff) | |
download | libtool-b9b44533fbf7c7752ffd255c3d09cc360e24183b.tar.gz |
bootstrap: use $gnulib_clone_since
* bootstrap.conf: Add $gnulib_clone_since.
* gl-mod/bootstrap: Update to the latest git hash.
* bootstrap: Regenerate.
-rwxr-xr-x | bootstrap | 10 | ||||
-rw-r--r-- | bootstrap.conf | 3 | ||||
m--------- | gl-mod/bootstrap | 0 |
3 files changed, 10 insertions, 3 deletions
@@ -160,6 +160,9 @@ gnulib_non_module_files=" gnulib_path= gnulib_url= +# Date from which to clone github, to avoid a full clone. +gnulib_clone_since= + # Additional gnulib-tool options to use. gnulib_tool_options=" --no-changelog @@ -2822,7 +2825,7 @@ test extract-trace = "$progname" && func_main "$@" # End: # Set a version string for *this* script. -scriptversion=2019-02-19.15; # UTC +scriptversion=2019-03-22.11; # UTC ## ------------------- ## @@ -4217,8 +4220,9 @@ func_require_gnulib_submodule () trap func_cleanup_gnulib 1 2 13 15 shallow= - $GIT clone -h 2>&1 |func_grep_q -- --depth \ - && shallow='--depth 365' + test -n "$gnulib_clone_since" && \ + $GIT clone -h 2>&1 |func_grep_q -- --shallow-since \ + && shallow="--shallow-since=$gnulib_clone_since" func_show_eval "$GIT clone $shallow '$gnulib_url' '$gnulib_path'" \ func_cleanup_gnulib diff --git a/bootstrap.conf b/bootstrap.conf index 7d175328..87d4101a 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -56,6 +56,9 @@ buildreq_readme=HACKING # Non-default gnulib directories. local_gl_path=gl:gl-mod/bootstrap +# We don't need the whole copy of gnulib. +gnulib_clone_since=2019-02-19 + # Additional gnulib-tool options to use. gnulib_tool_options=$gnulib_tool_options" --avoid=dummy diff --git a/gl-mod/bootstrap b/gl-mod/bootstrap -Subproject 41a7749cb825ab2d58969087e3b25a2d3632a01 +Subproject 037f83765b6e8f90dfabdfac4889be22a5a3f4a |