Skip to content

refactoring diff-index

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2diff-lib: simplify do_diff_cache()diff-lib.c+1 -252 replies
2/2diff-lib: refactor run_diff_index() and do_diff_cache()diff-lib.c+19 -280 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] refactoring diff-index

While I was looking at a rather ancient bug in "git reset" reported by John Nowak recently, I noticed that we can reduce duplicated code in the diff_index() codepath.

Junio C Hamano (2):
diff-lib: simplify do_diff_cache()
diff-lib: refactor run_diff_index() and do_diff_cache()

 diff-lib.c |   71 ++++++++++++++++-------------------------------------------
 1 files changed, 19 insertions(+), 52 deletions(-)
Signature · 1 line
1.7.6.178.g55272