From: Junio C Hamano Date: Fri, 3 Jun 2011 22:32:14 +0000 (-0700) Subject: index-pack: a miniscule refactor X-Git-Tag: v1.7.7-rc0~85^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4f8ec74efa9fc69aa3b0bd52affe31ca09f2fdd3?ds=inline;hp=4f8ec74efa9fc69aa3b0bd52affe31ca09f2fdd3 index-pack: a miniscule refactor Introduce a helper function that takes the type of an object and tell if it is a delta, as we seem to use this check in many places. Signed-off-by: Junio C Hamano ---