Code

http-push: add back underscore separator before lock token
[git.git] / http-push.c
index 203c0750fe2f26da35782455c82dda7498a72666..4b941f4d3e37e191688de64a99809909cbbed8ef 100644 (file)
@@ -555,6 +555,7 @@ static void start_put(struct transfer_request *request)
        request->dest = strbuf_detach(&buf, NULL);
 
        append_remote_object_url(&buf, remote->url, hex, 0);
+       strbuf_addstr(&buf, "_");
        strbuf_addstr(&buf, request->lock->token);
        request->url = strbuf_detach(&buf, NULL);