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(-) -- 1.7.6.178.g55272 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html