Signed-off-by: Hector Oswaldo Caballero <hector.caballero@ericsson.com> Change-Id: I0e7a365c26b2333627fcc26b9ea9f4fcd65e8746tags/v4.11.0.201803080745-r
@@ -1490,8 +1490,8 @@ public class GC { | |||
private boolean needGc() { | |||
if (tooManyPacks()) { | |||
addRepackAllOption(); | |||
} else if (!tooManyLooseObjects()) { | |||
return false; | |||
} else { | |||
return tooManyLooseObjects(); | |||
} | |||
// TODO run pre-auto-gc hook, if it fails return false | |||
return true; |