Revision 18322badc2b3b7f49f79da5273e003e9c0c4f549 authored by Jens Lehmann on 09 September 2011, 18:22:03 UTC, committed by Junio C Hamano on 09 September 2011, 20:59:20 UTC
It makes no sense to do the - possibly very expensive - call to "rev-list
<new-ref-sha1> --not --all" in check_for_new_submodule_commits() when
there aren't any submodules configured.

Leave check_for_new_submodule_commits() early when no name <-> path
mappings for submodules are found in the configuration. To make that work
reading the configuration had to be moved further up in cmd_fetch(), as
doing that after the actual fetch of the superproject was too late.

Reported-by: Martin Fick <mfick@codeaurora.org>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f696543
History
File Mode Size
static
INSTALL -rw-r--r-- 17.0 KB
Makefile -rw-r--r-- 5.3 KB
README -rw-r--r-- 17.6 KB
gitweb.perl -rwxr-xr-x 224.0 KB

README

back to top