Gnulib changes vs. git checkout?

Erik Auerswald <[email protected]> Tue, 2 Jul 2024 12:45:11 +0200
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
Hi all,

the recent time function changes added another gnulib module.  A simple
"git pull" in a clone of the inetutils repository does not update the
gnulib modules, resulting in a build failure:

    traceroute.c:52:10: fatal error: timespec.h: No such file or directory
       52 | #include <timespec.h>
          |          ^~~~~~~~~~~~

This can be fixed by deleting the clone, creating a new one, and executing
the bootstrap script.  But is there a nicer way for updating an exiting
git clone to also include the new gnulib module(s)?

Thanks,
Erik