summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:11 (GMT)
commitb5771985263f4bcf500b71e6b0a2fe1164f612a0 (patch)
tree16317f6e828a721b2abf2c3eb31ef9b6981eb445 /cache.h
parentece48106e6bd7c5c29f6bed8141586e789b43223 (diff)
parent011b648646fcf1f467336ac6bbf46145501c0f12 (diff)
downloadgit-b5771985263f4bcf500b71e6b0a2fe1164f612a0.zip
git-b5771985263f4bcf500b71e6b0a2fe1164f612a0.tar.gz
git-b5771985263f4bcf500b71e6b0a2fe1164f612a0.tar.bz2
Merge branch 'nd/pack-format-doc'
Doc update. * nd/pack-format-doc: pack-format.txt: more details on pack file format
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 0c1fb9f..2fabadd 100644
--- a/cache.h
+++ b/cache.h
@@ -373,6 +373,11 @@ extern void free_name_hash(struct index_state *istate);
#define read_blob_data_from_cache(path, sz) read_blob_data_from_index(&the_index, (path), (sz))
#endif
+/*
+ * Values in this enum (except those outside the 3 bit range) are part
+ * of pack file format. See Documentation/technical/pack-format.txt
+ * for more information.
+ */
enum object_type {
OBJ_BAD = -1,
OBJ_NONE = 0,