Code

pickaxe: factor out pickaxe
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 6 Oct 2011 16:50:28 +0000 (18:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Oct 2011 22:46:14 +0000 (15:46 -0700)
commit8a94151d61eda539a3588f2ad009e0117867525f
tree6ae6284b47e91f7ae3416937068a262251581a63
parentdb99cb700098942d3fced9e5d8ec873aabe6e1ef
pickaxe: factor out pickaxe

Move the duplicate diff queue loop into its own function that accepts
a match function: has_changes() for -S and diff_grep() for -G.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-pickaxe.c