diff --git a/transport.c b/transport.c
index 1a3998ee51e6edf090b18cfd90f4c2c78aece7c6..c9c8056f9de69bd378cd271d70363b5560f13e07 100644 (file)
--- a/transport.c
+++ b/transport.c
continue;
if (!ref->peer_ref)
continue;
- if (!ref->new_sha1 || is_null_sha1(ref->new_sha1))
+ if (is_null_sha1(ref->new_sha1))
continue;
/* Follow symbolic refs (mainly for HEAD). */