summary | shortlog | log | commit | commitdiff | tree
raw | combined (merge: 4e10cf9 8e9182e cf2ad8e)
raw | combined (merge: 4e10cf9 8e9182e cf2ad8e)
author | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Mar 2011 21:09:02 +0000 (14:09 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Mar 2011 21:09:02 +0000 (14:09 -0700) |
* sp/maint-fetch-pack-stop-early:
enable "no-done" extension only when fetching over smart-http
* sp/maint-upload-pack-stop-early:
enable "no-done" extension only when serving over smart-http
enable "no-done" extension only when fetching over smart-http
* sp/maint-upload-pack-stop-early:
enable "no-done" extension only when serving over smart-http
1 | 2 | 3 | |||
---|---|---|---|---|---|
builtin/fetch-pack.c | patch | | diff1 | | diff2 | | diff3 | | blob | history |
upload-pack.c | patch | | diff1 | | diff2 | | diff3 | | blob | history |
diff --cc builtin/fetch-pack.c
index bf9990ce15bf582293535606467fb209457bcfe1,52707a80adb403a887fa880c3286eb54afac5c05,b9994139345834a58b08a5ce57cf59c124e21760..65a8727453320f68e1230f702392c5ca3bb76884
+++ b/builtin/fetch-pack.c
if (args.verbose)
fprintf(stderr, "Server supports multi_ack_detailed\n");
multi_ack = 2;
- no_done = 1;
+ if (server_supports("no-done")) {
+ if (args.verbose)
+ fprintf(stderr, "Server supports no-done\n");
+ + if (args.stateless_rpc)
+ + no_done = 1;
+ }
}
else if (server_supports("multi_ack")) {
if (args.verbose)
diff --cc upload-pack.c
Simple merge