Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
bisect: introduce support for --no-checkout option.
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 1a3998ee51e6edf090b18cfd90f4c2c78aece7c6..c9c8056f9de69bd378cd271d70363b5560f13e07 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-156,7
+156,7
@@
static void set_upstreams(struct transport *transport, struct ref *refs,
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). */