Code

Merge branch 'nd/resolve-ref'
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index d29ce99631653997ae0f9236d286b9ab28a1e721..8c98d056674c9a426215bf93398fe922a1a90679 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -831,6 +831,8 @@ static inline int get_sha1_with_context(const char *str, unsigned char *sha1, st
 extern int get_sha1_hex(const char *hex, unsigned char *sha1);
 
 extern char *sha1_to_hex(const unsigned char *sha1);   /* static buffer result! */
+extern int read_ref_full(const char *filename, unsigned char *sha1,
+                        int reading, int *flags);
 extern int read_ref(const char *filename, unsigned char *sha1);
 
 /*