summaryrefslogtreecommitdiff
path: root/builtin/verify-tag.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-11-25 09:02:29 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-25 10:07:45 -0800
commit16d4fa3d9667ca28a519c46c1b1c752a848a693c (patch)
treec2dd0b111e2cdb661ce09962cad2bf4513f5f3cd /builtin/verify-tag.c
parentMerge git://github.com/git-l10n/git-po (diff)
downloadtgif-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/verify-tag.c')
0 files changed, 0 insertions, 0 deletions