diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-15 10:49:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-15 10:49:23 -0700 |
commit | 82246e075e5c028dd886adda68e28de092e33df1 (patch) | |
tree | f5dd3003cab676c2378c0b0f871fb07638fce7ef /help.c | |
parent | 75676c8c8b6cbeec7ccb68d97c17db230d9f2659 (diff) | |
parent | e634160bf457f8b3a91125307681c9493f11afb2 (diff) | |
download | git-82246e075e5c028dd886adda68e28de092e33df1.tar.gz |
Sync with 2.9.2
* maint:
Git 2.9.2
t0006: skip "far in the future" test when unsigned long is not long enough
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -419,6 +419,12 @@ int cmd_version(int argc, const char **argv, const char *prefix) * with external projects that rely on the output of "git version". */ printf("git version %s\n", git_version_string); + while (*++argv) { + if (!strcmp(*argv, "--build-options")) { + printf("sizeof-long: %d\n", (int)sizeof(long)); + /* NEEDSWORK: also save and output GIT-BUILD_OPTIONS? */ + } + } return 0; } |