submodule-config: remove submodule_from_cache
commit0c89fdd739183234f86fe2be03a0374705ed93ed
authorStefan Beller <sbeller@google.com>
Wed, 28 Mar 2018 22:35:30 +0000 (28 15:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Mar 2018 16:44:51 +0000 (29 09:44 -0700)
tree22af2a3216e1c5f6ac2449262224c23a12f289ca
parent3b8fb393bc32f8d96c2eb4c89349c864e5c56039
submodule-config: remove submodule_from_cache

This continues the story of bf12fcdf5e (submodule-config: store
the_submodule_cache in the_repository, 2017-06-22).

The previous patch taught submodule_from_path to take a repository into
account, such that submodule_from_{path, cache} are the same now.
Remove submodule_from_cache, migrating all its callers to
submodule_from_path.

Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
repository.c
submodule-config.c
submodule-config.h
submodule.c