git-commit-vandalism/refs
Michael Haggerty 2eed2780f0 get_ref_cache(): only create an instance if there is a submodule
If there is not a nonbare repository where a submodule is supposedly
located, then don't instantiate a ref_cache for it.

The analogous check can be removed from resolve_gitlink_ref().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-06-20 11:38:19 -07:00
..
files-backend.c get_ref_cache(): only create an instance if there is a submodule 2016-06-20 11:38:19 -07:00
refs-internal.h refs: use name "prefix" consistently 2016-06-20 11:38:18 -07:00