do_compare_entry: use already-computed path
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesIn review
- v11 patch 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | traverse_info: make mostly constbuiltin/ cache-tree.c cache-tree.h +4 more | +15 | 1 reply | |
| 2/2 | do_compare_entry: use already-computed pathtree-walk.c tree-walk.h unpack-trees.c | +47 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] do_compare_entry: use already-computed path
This version strdups the path to avoid it getting mutated. Problem noted by Junio.
David Turner (2):
traverse_info: make mostly const
do_compare_entry: use already-computed path
builtin/merge-tree.c | 2 +- cache-tree.c | 4 ++-- cache-tree.h | 2 +- t/t4010-diff-pathspec.sh | 2 +- tree-walk.c | 9 +++++++- tree-walk.h | 5 +++-- unpack-trees.c | 55 ++++++++++++++++++++++++++++++++++++++++-------- 7 files changed, 62 insertions(+), 17 deletions(-)
Signature · 1 line
2.4.2.749.g730654d-twtrsrc