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