On 01/04/2011 02:15 PM, Jim Meyering wrote:
> UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
> +
> +# Just before tagging a release, ensure that the gnulib submodule
> +# commit we're using is public.
> +alpha beta stable: gnulib-commit-check
> +.PHONY: gnulib-commit-check
> +gnulib-commit-check:
> + submod=gnulib; \
> + st=$$(git submodule status $$submod) || exit 1; \
> + commit=$$(echo $$st | awk '{ print $$1 }') || exit 1; \
> + wget -q -O /dev/null \
> + "http://git.savannah.gnu.org/gitweb/?p=$$submod.git;a=tree;h=$$commit"I'm trying to come up with some git submodule foreach 'command $sha1' formula that will allow you to make the same check without having to resort to wget or even to hardcoding the URL of each upstream repository. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
