Junio C Hamano <gitster@xxxxxxxxx> wrote: > Ryuichi Kokubo <ryu1kkb@xxxxxxxxx> writes: > > > git svn uses POSIX::strftime('%s', $sec, $min, ...) to make unix epoch time. > > But lowercase %s formatting character is a GNU extention. This causes problem > > in git svn fetch --localtime on non-glibc systems, such as msys or cygwin. > > Using Time::Local::timelocal($sec, $min, ...) fixes it. > > > > Signed-off-by: Ryuichi Kokubo <ryu1kkb@xxxxxxxxx> > > Sounds sensible. > > Because we already have "use Time::Local qw(...)" in perl/Git.pm > that is used by git-svn, we know the platforms that are capable > of running the current git-svn do have Time::Local available, so > I do not have worries about new dependency, either. > > Eric? Looks good, thanks. Signed-off and queued up. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html