Code

pickaxe: factor out has_changes
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 6 Oct 2011 16:26:24 +0000 (18:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Oct 2011 22:46:13 +0000 (15:46 -0700)
commit15dafaf80dda8e90114ae178569b9600ebd07109
tree89cee32b84cd59c3431c3ad60c8e887c15b50540
parent8e854b00d86070dd463a91bdbc401fb25dc9ddb5
pickaxe: factor out has_changes

Move duplicate if/else construct into its own helper function.

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