On 03/10/2010 03:18 AM, Jim Meyering wrote: >> I did a grep of '80cd995cdcbf4b9ded895a43621a11f11806ad8d' over the source >> tree >> and did not find it.
Maybe worth reporting to the git list as an enhancement request to 'git grep' to search the textual representation of submodules? At any rate, 'git log -p gnulib' will show you that commit id. >> >> How do I configure 'bootstrap' to use my (possibly modified) gnulib sources >> instead of a particular commit? I'm not a "git submodule" wizard and expect >> this do be doable through a command line option of the 'bootstrap' script. > > bootstrap uses the gnulib commit recorded via coreutils' gnulib submodule, > so I usually just sync-to-latest, commit that gnulib-update change, > and then test. I did this on coreutils' master: > > cd coreutils > git syncsub > git commit -m 'build: update gnulib submodule to latest' gnulib > ./bootstrap && ./configure && make && make check > > Where "syncsub" is defined in my ~/.gitconfig like this: > > [alias] > syncsub = submodule foreach git pull origin master > > So if your changed gnulib files are committed locally, > and the submodule points to your locally-modified repository, > once you've committed the "sync-from-gnulib" change as above, > bootstrap should do what you expect. You don't even have to make a commit. It is sufficient to do: cd coreutils git syncsub git add gnulib ./bootstrap && ./configure && make check and, if the results are to your liking, finally do the 'git commit'. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature