summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-11-01 14:38:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-11-01 14:38:58 (GMT)
commite0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927 (patch)
tree46c21b4f55eb15722b3659a7cf8ea19e904e0fcf /refs.h
parentc9bb7d040a266e8562e56f3ad0a375582f1d6f6f (diff)
parent84471a12130a40a050ce502c49f1faba97651add (diff)
downloadgit-e0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927.zip
git-e0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927.tar.gz
git-e0fd1e3841ebe24aa1d1a6c1ebbb1673f1201927.tar.bz2
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.h')
-rw-r--r--refs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/refs.h b/refs.h
index b113377..87a1a79 100644
--- a/refs.h
+++ b/refs.h
@@ -165,14 +165,6 @@ extern void unlock_ref(struct ref_lock *lock);
/** Writes sha1 into the ref specified by the lock. **/
extern int write_ref_sha1(struct ref_lock *lock, const unsigned char *sha1, const char *msg);
-/*
- * Invalidate the reference cache for the specified submodule. Use
- * submodule=NULL to invalidate the cache for the main module. This
- * function must be called if references are changed via a mechanism
- * other than the refs API.
- */
-extern void invalidate_ref_cache(const char *submodule);
-
/** Setup reflog before using. **/
int log_ref_setup(const char *ref_name, char *logfile, int bufsize);