Re: [PATCH] Allow multiple tag and branch directories in git-svnimport
- From
Stefan Sperling <stsp@elego.de>
- Date
- Aug 22, 2007, 10:24 UTC
- Message-ID
- <20070822102415.GA24305@jack.stsp.lan>
- In-Reply-To
- <86wsvook5s.fsf@blue.stonehenge.com>
On Tue, Aug 21, 2007 at 10:46:23AM -0700, Randal L. Schwartz wrote:
Show 9 quoted lines
> Stefan> Ouch, just noticed it's a bad idea to try to initialise > Stefan> an array with a scalar. Sorry :-/ > > That's completely normal. Perl predictably promotes the single scalar to an > array of one element. I wouldn't have even noticed it in a detailed code > review, since it's so normal to do that. > > In fact, the parens that you added do *not* make it a list. The parens > are purely for precedence
> So, your parens are not only uncommon, they are also completely ineffective, > similar to replacing 2 + 3 with (2) + (3) :)
Thanks for clarifying. Prior to hacking on git-svnimport my perl "skills" (if any) were strictly read-only. So I'm quite a noob wrt perl. Feel free to nit the patch further :)
-- Stefan Sperling <stsp@elego.de> Software Developer elego Software Solutions GmbH HRB 77719 Gustav-Meyer-Allee 25, Gebaeude 12 Tel: +49 30 23 45 86 96 13355 Berlin Fax: +49 30 23 45 86 95 http://www.elego.de Geschaeftsfuehrer: Olaf Wagner