diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-11-01 07:38:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-01 07:38:58 -0700 |
commit | e0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927 (patch) | |
tree | 46c21b4f55eb15722b3659a7cf8ea19e904e0fcf /refs.c | |
parent | c9bb7d040a266e8562e56f3ad0a375582f1d6f6f (diff) | |
parent | 84471a12130a40a050ce502c49f1faba97651add (diff) | |
download | git-e0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927.tar.gz |
Merge branch 'sb/refs-code-cleanup'
* sb/refs-code-cleanup:
cache: remove unused function 'have_git_dir'
refs: remove unused function invalidate_ref_cache
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -947,13 +947,6 @@ static struct ref_cache *get_ref_cache(const char *submodule) return refs; } -void invalidate_ref_cache(const char *submodule) -{ - struct ref_cache *refs = get_ref_cache(submodule); - clear_packed_ref_cache(refs); - clear_loose_ref_cache(refs); -} - /* The length of a peeled reference line in packed-refs, including EOL: */ #define PEELED_LINE_LENGTH 42 |