Merge branch 'sb/refs-code-cleanup'
* sb/refs-code-cleanup: cache: remove unused function 'have_git_dir' refs: remove unused function invalidate_ref_cache
This commit is contained in:
8
refs.h
8
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);
|
||||
|
||||
|
Reference in New Issue
Block a user