summaryrefslogtreecommitdiff
path: root/contrib/examples/git-svnimport.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-09-28 23:40:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-10-07 13:05:03 -0700
commit1cd749cc0722533bd1849f491ec9ab19e17232e1 (patch)
treec2a549534d534d2f4b5a53862afe3e277fe33243 /contrib/examples/git-svnimport.perl
parentMerge branch 'jc/maint-1.6.4-show-branch-default' into maint (diff)
downloadtgif-1cd749cc0722533bd1849f491ec9ab19e17232e1.tar.xz
fast-import.c::validate_raw_date(): really validate the value
When reading the "raw format" timestamp from the input stream, make sure that the timezone offset is a reasonable value by imitating 7122f82 (date.c: improve guess between timezone offset and year., 2006-06-08). We _might_ want to also check if the timestamp itself is reasonable, but that is left for a separate commit. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions