aboutsummaryrefslogtreecommitdiff
path: root/blob.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 12:12:00 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 12:12:00 -0700
commitb51ad4314078298194d23d46e2b4473ffd32a88a (patch)
tree3dfffcf747e4fbdb04f1b43251be932f69f55476 /blob.h
parenta4b7dbef4ef53f4fffbda0a6f5eada4c377e3fc5 (diff)
parentb5039db6d25ae25f1cb2db541ed13602784fafc3 (diff)
downloadgit-b51ad4314078298194d23d46e2b4473ffd32a88a.tar.gz
git-b51ad4314078298194d23d46e2b4473ffd32a88a.tar.xz
Merge the new object model thing from Daniel Barkalow
This was a real git merge with conflicts. I'll commit the scripts I used to do the merge next. Not pretty, but it's half-way functional.
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/blob.h b/blob.h
new file mode 100644
index 000000000..5cbf6d65e
--- /dev/null
+++ b/blob.h
@@ -0,0 +1,14 @@
+#ifndef BLOB_H
+#define BLOB_H
+
+#include "object.h"
+
+extern const char *blob_type;
+
+struct blob {
+ struct object object;
+};
+
+struct blob *lookup_blob(unsigned char *sha1);
+
+#endif /* BLOB_H */