summaryrefslogtreecommitdiff
path: root/src/tree-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree-cache.h')
-rw-r--r--src/tree-cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tree-cache.h b/src/tree-cache.h
index a9e6d2dc7..1a5d40613 100644
--- a/src/tree-cache.h
+++ b/src/tree-cache.h
@@ -12,14 +12,13 @@
#include "git2/oid.h"
struct git_tree_cache {
- char *name;
-
struct git_tree_cache *parent;
struct git_tree_cache **children;
size_t children_count;
ssize_t entries;
git_oid oid;
+ char name[GIT_FLEX_ARRAY];
};
typedef struct git_tree_cache git_tree_cache;