From: Junio C Hamano Date: Tue, 13 Feb 2007 06:17:48 GMT Subject: Re: git-svn test suite failures due to Subversion race Message-ID: <7vps8e1sz7.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070213032137.GA28534@localdomain> Eric Wong writes: > Thanks for the patch. Just one portability nit below, otherwise: > Acked-by: Eric Wong > >> +poke() { >> + touch -r "$1" -d +1sec "$1" >> +} > > I'm not sure that -d is portable. However, > > perl -e '@x = stat($ARGV[0]); utime($x[8], $x[9] + 1, $ARGV[0])' "$1" > > should work on any platform git-svn runs on. Sounds sensible, as git-svn wants perl-svn libraries already anyway.