unpack_trees: start splitting internal fields from public API
This just splits the two fields already marked as internal-only into a separate internal struct. Future commits will add more fields that were meant to be internal-only but were not explicitly marked as such to the same struct. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
33b1b4c768
commit
576de3d956
@ -97,9 +97,12 @@ struct unpack_trees_options {
|
||||
struct index_state *src_index;
|
||||
struct index_state result;
|
||||
|
||||
struct pattern_list *pl; /* for internal use */
|
||||
struct dir_struct *dir; /* for internal use only */
|
||||
struct checkout_metadata meta;
|
||||
|
||||
struct unpack_trees_options_internal {
|
||||
struct pattern_list *pl;
|
||||
struct dir_struct *dir;
|
||||
} internal;
|
||||
};
|
||||
|
||||
int unpack_trees(unsigned n, struct tree_desc *t,
|
||||
|
Reference in New Issue
Block a user