Re: [PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Eric Wong
Junio C Hamano wrote: > Ryuichi Kokubo 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.

Re: [PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Junio C Hamano
Ryuichi Kokubo 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, $

[PATCH] git-svn: fix localtime=true on non-glibc environments

2015-02-25 Thread Ryuichi Kokubo
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-b