diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-15 09:43:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-15 09:43:42 -0700 |
commit | 33eacd3ff43e49109594c44e93b7ee66725fb8af (patch) | |
tree | 0a02655395cdd4623ab5ba915df57c16e1a4d9a4 /help.c | |
parent | 5c9159de87e41cf14ec5f2132afb5a06f35c26b3 (diff) | |
parent | 6b9c38e14cd3abf9b95cabe8b86954f0c4e94a38 (diff) | |
download | git-33eacd3ff43e49109594c44e93b7ee66725fb8af.tar.gz |
Merge branch 'jk/tzoffset-fix' into maint
Skip tests that are unrunnable on platforms without 64-bit long
to avoid unnecessary test failures.
* jk/tzoffset-fix:
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; } |