diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-11-25 09:02:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-25 10:07:45 -0800 |
commit | 16d4fa3d9667ca28a519c46c1b1c752a848a693c (patch) | |
tree | c2dd0b111e2cdb661ce09962cad2bf4513f5f3cd /builtin/check-attr.c | |
parent | Merge git://github.com/git-l10n/git-po (diff) | |
download | tgif-16d4fa3d9667ca28a519c46c1b1c752a848a693c.tar.xz |
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 <mhagger@alum.mit.edu>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-attr.c')
0 files changed, 0 insertions, 0 deletions