diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-03-30 14:35:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-30 14:35:37 -0700 |
commit | ad16f748f22c82d096664f15f1a1c7fcc361cfe3 (patch) | |
tree | e3ea426b9f96290914bc4cf22da10b1c3e6a0ce1 /cache.h | |
parent | Merge branch 'bs/asciidoctor-installation-hints' (diff) | |
parent | tree.h API: simplify read_tree_recursive() signature (diff) | |
download | tgif-ad16f748f22c82d096664f15f1a1c7fcc361cfe3.tar.xz |
Merge branch 'ab/read-tree'
Code simplification by removing support for a caller that is long gone.
* ab/read-tree:
tree.h API: simplify read_tree_recursive() signature
tree.h API: expose read_tree_1() as read_tree_at()
archive: stop passing "stage" through read_tree_recursive()
ls-files: refactor away read_tree()
ls-files: don't needlessly pass around stage variable
tree.c API: move read_tree() into builtin/ls-files.c
ls-files tests: add meaningful --with-tree tests
show tests: add test for "git show <tree>"
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -803,7 +803,7 @@ static inline int index_pos_to_insert_pos(uintmax_t pos) #define ADD_CACHE_OK_TO_ADD 1 /* Ok to add */ #define ADD_CACHE_OK_TO_REPLACE 2 /* Ok to replace file/directory */ #define ADD_CACHE_SKIP_DFCHECK 4 /* Ok to skip DF conflict checks */ -#define ADD_CACHE_JUST_APPEND 8 /* Append only; tree.c::read_tree() */ +#define ADD_CACHE_JUST_APPEND 8 /* Append only */ #define ADD_CACHE_NEW_ONLY 16 /* Do not replace existing ones */ #define ADD_CACHE_KEEP_CACHE_TREE 32 /* Do not invalidate cache-tree */ #define ADD_CACHE_RENORMALIZE 64 /* Pass along HASH_RENORMALIZE */ |