aboutsummaryrefslogtreecommitdiffstats
path: root/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'object.h')
-rw-r--r--object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/object.h b/object.h
index 70c8d4ae63..9293e703cc 100644
--- a/object.h
+++ b/object.h
@@ -215,6 +215,7 @@ static inline const char *parse_mode(const char *str, uint16_t *modep)
*/
enum parse_object_flags {
PARSE_OBJECT_SKIP_HASH_CHECK = 1 << 0,
+ PARSE_OBJECT_DISCARD_TREE = 1 << 1,
};
struct object *parse_object(struct repository *r, const struct object_id *oid);
struct object *parse_object_with_flags(struct repository *r,