Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin-status: Add tests for submodule summary
[gitweb.git]
/
builtin-send-pack.c
diff --git
a/builtin-send-pack.c
b/builtin-send-pack.c
index 930e0fb3fdfee2293d0fca650d7139f09f2d381e..bb9c33a6506290edad096acaa52330dd48df6135 100644
(file)
--- a/
builtin-send-pack.c
+++ b/
builtin-send-pack.c
@@
-537,7
+537,7
@@
static void verify_remote_names(int nr_heads, const char **heads)
int i;
for (i = 0; i < nr_heads; i++) {
- const char *remote = strchr(heads[i], ':');
+ const char *remote = str
r
chr(heads[i], ':');
remote = remote ? (remote + 1) : heads[i];
switch (check_ref_format(remote)) {