]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/tzoffset-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:38:15 +0000 (13:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:38:15 +0000 (13:38 -0700)
commitf6a729f344da03d9da07848ab33d98643976ed22
treec1fb3b90e7e98b09a57cf23905e8523a01957069
parentfd4df42275b73bdcd938a833053b514125f3f9a3
parentbab748371a104c58058c0eff9f4073b710ce0355
Merge branch 'jk/tzoffset-fix'

The internal code used to show local timezone offset is not
prepared to handle timestamps beyond year 2100, and gave a
bogus offset value to the caller.  Use a more benign looking
+0000 instead and let "git log" going in such a case, instead
of aborting.

* jk/tzoffset-fix:
  local_tzoffset: detect errors from tm_to_time_t
  t0006: test various date formats
  t0006: rename test-date's "show" to "relative"
t/helper/test-date.c