Re: t9700-perl-git.sh is broken on some configurations

2016-03-04 Thread Jeff King
On Fri, Mar 04, 2016 at 11:30:36AM +0100, Christian Couder wrote: > > Those are just guesses, but if we are tickling a bug in perl's parser, > > this might avoid them. I also wondered when "/r" appeared. It was in > > 5.14, so you're presumably good there. > > If I just remove the "r" at the end

Re: t9700-perl-git.sh is broken on some configurations

2016-03-04 Thread Dennis Kaarsemaker
On vr, 2016-03-04 at 03:56 -0500, Jeff King wrote: > ? Those are just guesses, but if we are tickling a bug in perl's parser, > this might avoid them. I also wondered when "/r" appeared. It was in > 5.14, so you're presumably good there. The "use" statement at the top of > the script says "5.008",

Re: t9700-perl-git.sh is broken on some configurations

2016-03-04 Thread Christian Couder
On Fri, Mar 4, 2016 at 9:56 AM, Jeff King wrote: > On Fri, Mar 04, 2016 at 09:13:51AM +0100, Christian Couder wrote: > >> Indeed on the command line I get: >> >> >> $ t/t9700/test.pl >> ok 2 - use Git; >> Bareword found where operator expected at

Re: t9700-perl-git.sh is broken on some configurations

2016-03-04 Thread Jeff King
On Fri, Mar 04, 2016 at 09:13:51AM +0100, Christian Couder wrote: > Indeed on the command line I get: > > > $ t/t9700/test.pl > ok 2 - use Git; > Bareword found where operator expected at t/t9700/test.pl line 36, > near "s/\\/\//gr" > syntax error at t/t9700/test.pl line

t9700-perl-git.sh is broken on some configurations

2016-03-04 Thread Christian Couder
Hi, It looks like t9700-perl-git.sh is broken on one machine I use but not on my laptop since commit d53c2c67380f769f91fd45cc8c63a5883245ccca (mingw: fix t9700's assumption about directory separators, Jan 27 17:19:56 2016). I get: Initialized empty Git repository in