Fossil SCM
Fix the test-http command so that it omits line-ending conversions. This allows the ssh: clone/sync method to work with a windows server.
Commit
28b15b4816b9e05b365cafa7f5651761c6688ebeda9a32545b90c16e25690176
Parent
8f70ccaac82d0e3…
1 file changed
+2
+2
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -2444,10 +2444,12 @@ | ||
| 2444 | 2444 | Th_InitTraceLog(); |
| 2445 | 2445 | login_set_capabilities("sx", 0); |
| 2446 | 2446 | g.useLocalauth = 1; |
| 2447 | 2447 | g.httpIn = stdin; |
| 2448 | 2448 | g.httpOut = stdout; |
| 2449 | + fossil_binary_mode(g.httpOut); | |
| 2450 | + fossil_binary_mode(g.httpIn); | |
| 2449 | 2451 | g.zExtRoot = find_option("extroot",0,1); |
| 2450 | 2452 | find_server_repository(2, 0); |
| 2451 | 2453 | g.cgiOutput = 1; |
| 2452 | 2454 | g.fNoHttpCompress = 1; |
| 2453 | 2455 | g.fullHttpReply = 1; |
| 2454 | 2456 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2444,10 +2444,12 @@ | |
| 2444 | Th_InitTraceLog(); |
| 2445 | login_set_capabilities("sx", 0); |
| 2446 | g.useLocalauth = 1; |
| 2447 | g.httpIn = stdin; |
| 2448 | g.httpOut = stdout; |
| 2449 | g.zExtRoot = find_option("extroot",0,1); |
| 2450 | find_server_repository(2, 0); |
| 2451 | g.cgiOutput = 1; |
| 2452 | g.fNoHttpCompress = 1; |
| 2453 | g.fullHttpReply = 1; |
| 2454 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2444,10 +2444,12 @@ | |
| 2444 | Th_InitTraceLog(); |
| 2445 | login_set_capabilities("sx", 0); |
| 2446 | g.useLocalauth = 1; |
| 2447 | g.httpIn = stdin; |
| 2448 | g.httpOut = stdout; |
| 2449 | fossil_binary_mode(g.httpOut); |
| 2450 | fossil_binary_mode(g.httpIn); |
| 2451 | g.zExtRoot = find_option("extroot",0,1); |
| 2452 | find_server_repository(2, 0); |
| 2453 | g.cgiOutput = 1; |
| 2454 | g.fNoHttpCompress = 1; |
| 2455 | g.fullHttpReply = 1; |
| 2456 |