[PATCH v6 0/9] Parallel Checkout (part 1)
- From
Matheus Tavares <matheus.bernardino@usp.br>
- Date
- Mar 23, 2021, 14:19 UTC
- Message-ID
- <cover.1616508954.git.matheus.bernardino@usp.br>
- In-Reply-To
- <cover.1608128666.git.matheus.bernardino@usp.br>
Preparatory API changes for parallel checkout. This version was rebased on top of 'master'. The only change required in this change of base was the `entry.h` inclusion on `builtin/stash.c`, at the commit that creates this header file.
Jeff Hostetler (4): convert: make convert_attrs() and convert structs public convert: add [async_]convert_to_working_tree_ca() variants convert: add get_stream_filter_ca() variant convert: add classification for conv_attrs struct
Matheus Tavares (5): entry: extract a header file for entry.c functions entry: make fstat_output() and read_blob_entry() public entry: extract update_ce_after_write() from write_entry() entry: move conv_attrs lookup up to checkout_entry() entry: add checkout_entry_ca() taking preloaded conv_attrs
apply.c | 1 + builtin/checkout-index.c | 1 + builtin/checkout.c | 1 + builtin/difftool.c | 1 + builtin/stash.c | 1 + cache.h | 24 ------- convert.c | 143 ++++++++++++++++++++------------------- convert.h | 96 +++++++++++++++++++++++--- entry.c | 85 +++++++++++++---------- entry.h | 59 ++++++++++++++++ unpack-trees.c | 1 + 11 files changed, 276 insertions(+), 137 deletions(-) create mode 100644 entry.h
Range-diff against v5:
1: 9909ccee14 = 1: 5e8a1b6a1c convert: make convert_attrs() and convert structs public
2: ec4e645aea = 2: 91d1a3063b convert: add [async_]convert_to_working_tree_ca() variants
3: 1834a54dfd = 3: ab1bf85b75 convert: add get_stream_filter_ca() variant
4: b26022af45 = 4: 01ac6176cc convert: add classification for conv_attrs struct
5: 837fccde5b ! 5: 4d85af1579 entry: extract a header file for entry.c functions
@@ builtin/difftool.c
static int trust_exit_code;
+ ## builtin/stash.c ##
+@@
+ #include "log-tree.h"
+ #include "diffcore.h"
+ #include "exec-cmd.h"
++#include "entry.h"
+
+ #define INCLUDE_ALL_FILES 2
+
+
## cache.h ##
@@ cache.h: const char *show_ident_date(const struct ident_split *id,
*/
6: 231e81fb82 = 6: af8b1691cc entry: make fstat_output() and read_blob_entry() public
7: 2fd8d35242 = 7: b28e518c0d entry: extract update_ce_after_write() from write_entry()
8: 7531ad195b = 8: 87b9d4590a entry: move conv_attrs lookup up to checkout_entry()
9: bf6b7259cb = 9: aa36bfee87 entry: add checkout_entry_ca() taking preloaded conv_attrs-- 2.30.1