{"thread":{"id":"25980","subject":"git-svn fails when svn.noMetaData is set","startedAt":"2010-12-07T02:24:27Z","lastAt":"2010-12-07T02:24:27Z","messageCount":1,"participants":["dclist@gmail.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"157474","messageId":"87bp4ytj50.fsf@invalid.clx","threadId":"25980","inReplyTo":null,"subject":"git-svn fails when svn.noMetaData is set","fromName":"","fromEmail":"dclist@gmail.com","sentAt":"2010-12-07T02:24:27Z","receivedAt":"2010-12-07T02:24:27Z","isPatch":false,"sender":{"key":"dclist@gmail.com","avatar":null},"body":"\nRun on git version 1.7.3. Analyzed the source code using commit\n0b0cd0e0a2.\n\nSteps to reproduce\n------------------\n1. Set svn.noMetaData to true globally.\n2. Invoke git svn clone on an svn repository\n\nWhat happens\n------------\nFatal error: \"Not a SCALAR reference at /usr/lib/git-core/git-svn line 1457\"\n\nWhat I expect to happen\n-----------------------\nThe clone to complete successfully\n\nAnalysis\n--------\nThe problem seems to be line 1457, where the variable 'v' is\ndereferenced and assigned a value --- $$v = $tmp ---- in combination\nwith line 118, where the value of the variable 'v' for the option\nno-metadata is specified as a subroutine and, therefore, cannot be\nassigned a value in the manner defined on line 1457. I believe the same\nis true of other options that specify subroutines as their hash values.\n"}]}