Pádraig Brady wrote: >> Subject: [PATCH] bootstrap: sync from coreutils >> >> * build-aux/bootstrap (bootstrap_epilogue): New function. >> Use git_modules_config in one more place. This make bootstrap's >> --gnulib-srcdir option more useful for testing. > > Why does it make it more useful? > With latest coreutils/gnulib, git diff now gives the following > (I'm probably doing something wrong as I know little about submodules)
With the patch I committed, ./bootstrap --gnulib-srcdir=$HOME/w/co/gnulib now updates .gitmodules (as indicated by your diff below). Before it did not. This is useful only when committing changes locally (only for testing) both in your gnulib hierarchy and in the coreutils one, to point it at the new gnulib commit. > diff --git a/.gitmodules b/.gitmodules > index bb9e1ba..5a4e3d5 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -1,3 +1,3 @@ > [submodule "gnulib"] > path = gnulib > - url = git://git.sv.gnu.org/gnulib.git > + url = /home/padraig/git/gnulib