diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2016-06-18 06:15:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-20 11:38:19 -0700 |
commit | 2eed2780f0e36e4a9038d65d9125cde5d5e1d2c6 (patch) | |
tree | 4a8529ab521096b0c04423f39457a13475dcab95 /reachable.c | |
parent | remote rm: handle symbolic refs correctly (diff) | |
download | tgif-2eed2780f0e36e4a9038d65d9125cde5d5e1d2c6.tar.xz |
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>
Diffstat (limited to 'reachable.c')
0 files changed, 0 insertions, 0 deletions