summaryrefslogtreecommitdiff
path: root/src/pkt.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-10-05 16:57:34 +0200
committerVicent Marti <tanoku@gmail.com>2011-10-12 21:33:19 +0200
commite5e92c1fab2034ab549e0b67e566b8ceac649d10 (patch)
tree0f6954e9d7aeba553570edda0e4420078cfdafbf /src/pkt.c
parent65c86048cb63813453af184118e86947b5a9b161 (diff)
downloadlibgit2-e5e92c1fab2034ab549e0b67e566b8ceac649d10.tar.gz
http: simple negotiation
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/pkt.c')
-rw-r--r--src/pkt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkt.c b/src/pkt.c
index 801dd9b40..7aa225c06 100644
--- a/src/pkt.c
+++ b/src/pkt.c
@@ -350,6 +350,7 @@ int git_pkt_buffer_wants(git_headarray *refs, git_transport_caps *caps, git_buf
git_oid_fmt(oid, &head->oid);
git_buf_puts(buf, WANT_PREFIX);
git_buf_put(buf, oid, GIT_OID_HEXSZ);
+ git_buf_putc(buf, '\n');
}
return git_pkt_buffer_flush(buf);