From: Michael Haggerty Date: Tue, 25 Nov 2014 08:02:29 +0000 (+0100) Subject: prune_remote(): exit early if there are no stale references X-Git-Tag: v2.3.0-rc0~70^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/16d4fa3d9667ca28a519c46c1b1c752a848a693c?hp=16d4fa3d9667ca28a519c46c1b1c752a848a693c prune_remote(): exit early if there are no stale references Aside from making the logic clearer, this avoids a call to warn_dangling_symrefs(), which always does a for_each_rawref() iteration. Signed-off-by: Michael Haggerty Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---