Merge branch 'jt/accept-capability-advertisement-when-fetching-from-void'
[gitweb.git] / sha1_file.c
index 6f38dc65487bb4e639766bb6a189297b356021d7..472ccb2ff96d4bcf57cba4832dc2ca7631b309eb 100644 (file)
@@ -39,6 +39,12 @@ static inline uintmax_t sz_fmt(size_t s) { return s; }
 
 const unsigned char null_sha1[20];
 const struct object_id null_oid;
+const struct object_id empty_tree_oid = {
+       EMPTY_TREE_SHA1_BIN_LITERAL
+};
+const struct object_id empty_blob_oid = {
+       EMPTY_BLOB_SHA1_BIN_LITERAL
+};
 
 /*
  * This is meant to hold a *small* number of objects that you would