Here's the patch to add a submodule. The only trick, for me, was to learn that when I want to update coreutils' gnulib SHA1, I just run "cd gnulib; git pull" and then commit the result.
Once you pull this, you should rerun bootstrap however you normally do it. >From 19a0b6be60ee001ed5ca4f1d994b49cf0d2f2682 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Sat, 7 Mar 2009 10:19:46 +0100 Subject: [PATCH] maint: use a git submodule for gnulib * .gitmodules: New file, to track gnulib. * gnulib: New file, created by running this: git submodule add git://git.sv.gnu.org/gnulib.git gnulib --- .gitmodules | 3 +++ gnulib | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 .gitmodules create mode 160000 gnulib diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..acb2669 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gnulib"] + path = gnulib + url = git://git.sv.gnu.org/gnulib.git diff --git a/gnulib b/gnulib new file mode 160000 index 0000000..8af1df8 --- /dev/null +++ b/gnulib @@ -0,0 +1 @@ +Subproject commit 8af1df8da0c9a895512f0d44fa7cf7e2dd677ae7 -- 1.6.2.rc1.285.gc5f54 _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils