aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2007-11-15 17:33:44 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-15 21:16:51 -0800
commit549799b4a1741fe765fff2c91808b4524ea2d7fb (patch)
treee393fb3116a80348fc6f56d30d151d2f4166e5dc /refs.h
parent039bc64e886716593d59910694a6c8ed5b72c515 (diff)
downloadgit-549799b4a1741fe765fff2c91808b4524ea2d7fb.tar.gz
git-549799b4a1741fe765fff2c91808b4524ea2d7fb.tar.xz
refs.c: Remove unused get_ref_sha1()
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/refs.h b/refs.h
index 6eb98a4ca..9dc8aa01d 100644
--- a/refs.h
+++ b/refs.h
@@ -26,9 +26,6 @@ extern int for_each_remote_ref(each_ref_fn, void *);
extern int peel_ref(const char *, unsigned char *);
-/** Reads the refs file specified into sha1 **/
-extern int get_ref_sha1(const char *ref, unsigned char *sha1);
-
/** Locks a "refs/" ref returning the lock on success and NULL on failure. **/
extern struct ref_lock *lock_ref_sha1(const char *ref, const unsigned char *old_sha1);