Skip to content

Teach diff_tree_sha1() to accept NULL sha1 for empty trees

Kirill Smelkov git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tree-diff: allow diff_tree_sha1 to accept NULL sha1tree-diff.c+4 -80 replies
2/4tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1 with old=NULLtree-diff.c+1 -140 replies
3/4line-log: convert to using diff_tree_sha1()line-log.c+2 -242 replies
4/4revision: convert to using diff_tree_sha1()revision.c+1 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Teach diff_tree_sha1() to accept NULL sha1 for empty trees

Some preparatory patches for my reworked nparent tree-walker. Please apply.

Thanks beforehand,
Kirill

Kirill Smelkov (4):
tree-diff: allow diff_tree_sha1 to accept NULL sha1
tree-diff: convert diff_root_tree_sha1() to just call diff_tree_sha1
with old=NULL
line-log: convert to using diff_tree_sha1()
revision: convert to using diff_tree_sha1()

 line-log.c  | 26 ++------------------------
 revision.c  | 12 +-----------
 tree-diff.c | 27 +++++----------------------
 3 files changed, 8 insertions(+), 57 deletions(-)
Signature · 1 line
1.9.rc1.181.g641f458