summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-17 20:09:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-17 20:09:57 (GMT)
commitc5d276cb184cc42fb90b60b14996253b855a3e06 (patch)
tree3ff423a75640bf12d4ae281ca321ca98f97f1e4d /help.c
parentc83149ace6cd78cdd9b29b1ec4f0e0cb87558687 (diff)
parenteebfe409628e337e283d57a870f52ae0d0e0de34 (diff)
downloadgit-c5d276cb184cc42fb90b60b14996253b855a3e06.zip
git-c5d276cb184cc42fb90b60b14996253b855a3e06.tar.gz
git-c5d276cb184cc42fb90b60b14996253b855a3e06.tar.bz2
Merge branch 'mk/http-backend-content-length'
The http-backend (used for smart-http transport) used to slurp the whole input until EOF, without paying attention to CONTENT_LENGTH that is supplied in the environment and instead expecting the Web server to close the input stream. This has been fixed. * mk/http-backend-content-length: t5562: avoid non-portable "export FOO=bar" construct http-backend: respect CONTENT_LENGTH for receive-pack http-backend: respect CONTENT_LENGTH as specified by rfc3875 http-backend: cleanup writing to child process
Diffstat (limited to 'help.c')
-rw-r--r--help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/help.c b/help.c
index 3ebf056..9c0b5a8 100644
--- a/help.c
+++ b/help.c
@@ -693,6 +693,7 @@ int cmd_version(int argc, const char **argv, const char *prefix)
else
printf("no commit associated with this build\n");
printf("sizeof-long: %d\n", (int)sizeof(long));
+ printf("sizeof-size_t: %d\n", (int)sizeof(size_t));
/* NEEDSWORK: also save and output GIT-BUILD_OPTIONS? */
}
return 0;