refs_read_raw_ref(): new function
[gitweb.git] / refs / refs-internal.h
index 690498698e41b75cf7a194ac03cafd778f0f19f1..6ee9f20dbc0e71bd37be0ca260eba6db7695a569 100644 (file)
@@ -165,6 +165,10 @@ struct ref_update {
        const char refname[FLEX_ARRAY];
 };
 
+int refs_read_raw_ref(struct ref_store *ref_store,
+                     const char *refname, unsigned char *sha1,
+                     struct strbuf *referent, unsigned int *type);
+
 /*
  * Add a ref_update with the specified properties to transaction, and
  * return a pointer to the new object. This function does not verify