Git fork

tree-diff.c: move S_DIFFTREE_IFXMIN_NEQ define from cache.h

S_DIFFTREE_IFXMIN_NEQ is *only* used in tree-diff.c, so there is no
point exposing it in cache.h. Move it to tree-diff.c.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Elijah Newren and committed by
Junio C Hamano
23a517e4 592fc5b3

+13 -15
-15
cache.h
··· 11 #include "statinfo.h" 12 13 /* 14 - * Some mode bits are also used internally for computations. 15 - * 16 - * They *must* not overlap with any valid modes, and they *must* not be emitted 17 - * to outside world - i.e. appear on disk or network. In other words, it's just 18 - * temporary fields, which we internally use, but they have to stay in-house. 19 - * 20 - * ( such approach is valid, as standard S_IF* fits into 16 bits, and in Git 21 - * codebase mode is `unsigned int` which is assumed to be at least 32 bits ) 22 - */ 23 - 24 - /* used internally in tree-diff */ 25 - #define S_DIFFTREE_IFXMIN_NEQ 0x80000000 26 - 27 - 28 - /* 29 * Basic data structures for the directory cache 30 */ 31
··· 11 #include "statinfo.h" 12 13 /* 14 * Basic data structures for the directory cache 15 */ 16
+13
tree-diff.c
··· 7 #include "tree.h" 8 9 /* 10 * internal mode marker, saying a tree entry != entry of tp[imin] 11 * (see ll_diff_tree_paths for what it means there) 12 *
··· 7 #include "tree.h" 8 9 /* 10 + * Some mode bits are also used internally for computations. 11 + * 12 + * They *must* not overlap with any valid modes, and they *must* not be emitted 13 + * to outside world - i.e. appear on disk or network. In other words, it's just 14 + * temporary fields, which we internally use, but they have to stay in-house. 15 + * 16 + * ( such approach is valid, as standard S_IF* fits into 16 bits, and in Git 17 + * codebase mode is `unsigned int` which is assumed to be at least 32 bits ) 18 + */ 19 + 20 + #define S_DIFFTREE_IFXMIN_NEQ 0x80000000 21 + 22 + /* 23 * internal mode marker, saying a tree entry != entry of tp[imin] 24 * (see ll_diff_tree_paths for what it means there) 25 *