diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-02-14 12:54:23 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-14 12:54:23 -0800 |
commit | aa21cc97bd10ab0b62f6d951ff2ff725261e326e (patch) | |
tree | 69e983408fd1a4f599ea00d6b70599a00282be06 /tree-walk.h | |
parent | Merge branch 'jh/notes-fanout-fix' (diff) | |
parent | tree-walk.c: break circular dependency with unpack-trees (diff) | |
download | tgif-aa21cc97bd10ab0b62f6d951ff2ff725261e326e.tar.xz |
Merge branch 'jk/alloc-cleanups'
Misc code clean-ups.
* jk/alloc-cleanups:
tree-walk.c: break circular dependency with unpack-trees
traverse_trees(): use stack array for name entries
walker_fetch(): avoid raw array length computation
normalize_path_copy(): document "dst" size expectations
Diffstat (limited to 'tree-walk.h')
-rw-r--r-- | tree-walk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tree-walk.h b/tree-walk.h index 826396c8ed..a5058469e9 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -3,6 +3,8 @@ #include "cache.h" +#define MAX_TRAVERSE_TREES 8 + /** * The tree walking API is used to traverse and inspect trees. */ |