From: Michael Haggerty Date: Tue, 17 Jan 2012 05:50:31 +0000 (+0100) Subject: pack_refs(): remove redundant check X-Git-Tag: v1.7.10-rc0~141^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e45a59955ec78bca12930bcf6aa9642fd94c9e7c?ds=inline;hp=e45a59955ec78bca12930bcf6aa9642fd94c9e7c pack_refs(): remove redundant check handle_one_ref() only adds refs to the cbdata.ref_to_prune list if (cbdata.flags & PACK_REFS_PRUNE) is set. So any references in this list at the end of pack_refs() can be pruned unconditionally. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---