summaryrefslogtreecommitdiffstats
path: root/templates/hooks--post-commit.sample
diff options
context:
space:
mode:
authorBernd Ahlers <bernd@ba-net.org>2009-04-06 19:26:37 +0200
committerJunio C Hamano <gitster@pobox.com>2009-05-06 07:19:14 +0200
commitf697b33b015fcb0c90210840eb4ef8e6a18d4bdf (patch)
treedee9b73dc1431f423d1246cd7bc7ad6a68f1aab8 /templates/hooks--post-commit.sample
parentgit-am.txt: reword extra headers in message body (diff)
downloadgit-f697b33b015fcb0c90210840eb4ef8e6a18d4bdf.tar.xz
git-f697b33b015fcb0c90210840eb4ef8e6a18d4bdf.zip
Work around BSD whose typeof(tv.tv_sec) != time_t
According to POSIX, tv_sec is supposed to be a time_t, but OpenBSD (and FreeBSD, too) defines it to be a long, which triggers a type mismatch when a pointer to it is given to localtime_r(). Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--post-commit.sample')
0 files changed, 0 insertions, 0 deletions