X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=tree.h;h=066ac5d5bfa38ec8b61e4a8c9b1d75c1959eaa03;hb=d2eafb76611670d7573f9409b0c727019fe50e18;hp=330ab64bbd40bd9202a7474cbda0818b98640cde;hpb=9086a18cb81f99fff943b36830396ac8c37c7e9f;p=git.git diff --git a/tree.h b/tree.h index 330ab64b..066ac5d5 100644 --- a/tree.h +++ b/tree.h @@ -12,7 +12,7 @@ struct tree_entry_list { unsigned symlink : 1; unsigned zeropad : 1; unsigned int mode; - char *name; + const char *name; union { struct object *any; struct tree *tree; @@ -22,6 +22,8 @@ struct tree_entry_list { struct tree { struct object object; + void *buffer; + unsigned long size; struct tree_entry_list *entries; };