Code

setup_revisions(): Allow walking history in a submodule
authorHeiko Voigt <hvoigt@hvoigt.net>
Wed, 7 Jul 2010 13:39:12 +0000 (15:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Jul 2010 16:48:33 +0000 (09:48 -0700)
commit9ef6aeb09ffe0650ca86dca53de93fd85333b02d
treec3450951b7d3eb0d0bee8ff77229a98255bb4d34
parent0bad611b1ebacf170976a10690bd0169f8d372bf
setup_revisions(): Allow walking history in a submodule

By passing the path to a submodule in opt->submodule, the function can
be used to walk history in the named submodule repository, instead of
the toplevel repository.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h
revision.c
revision.h