Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bg/apply-doc'
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 16c6641f03e36893f95daf4609d1d85e69ab3088..5078c7100f16e9d7ac08aad05e3797ad5b6626bc 100644
(file)
--- a/
transport-helper.c
+++ b/
transport-helper.c
@@
-263,6
+263,8
@@
static int push_refs(struct transport *transport,
strbuf_addstr(&buf, ref->name);
strbuf_addch(&buf, '\n');
}
+ if (buf.len == 0)
+ return 0;
transport->verbose = flags & TRANSPORT_PUSH_VERBOSE ? 1 : 0;
standard_options(transport);