Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-format-patch: add --no-binary to omit binary changes in the patch.
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index 5ac357278464324d82ac6912c1b7ad84d42d0743..d12b105970bca82017998cae52f5807629736bb9 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-68,8
+68,7
@@
struct ref **get_remote_heads(int in, struct ref **list,
name_len = strlen(name);
if (len != name_len + 41) {
- if (server_capabilities)
- free(server_capabilities);
+ free(server_capabilities);
server_capabilities = xstrdup(name + name_len + 1);
}