From: Junio C Hamano Date: Tue, 19 Jul 2011 18:13:04 GMT Subject: [PATCH 0/2] refactoring diff-index Message-ID: <1311099186-16482-1-git-send-email-gitster@pobox.com> In-Reply-To: <7vzkkh2yfu.fsf@alter.siamese.dyndns.org> 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