Prepare Git::SVN for extraction into its own file.
authorMichael G. Schwern <schwern@pobox.com>
Thu, 26 Jul 2012 23:22:23 +0000 (16:22 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 27 Jul 2012 22:14:52 +0000 (22:14 +0000)
This means it should be able to load without git-svn being loaded.

* Load Git.pm on its own and all the needed command functions.

* It needs to grab at a git-svn lexical $_prefix representing the --prefix
option. Provide opt_prefix() for that. This is a refactoring artifact.
The prefix should really be passed into Git::SVN->new.

* Unqualify unnecessarily fully qualified globals like
$Git::SVN::default_repo_id.

* Lexically isolate the class just to make sure nothing is leaking out.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
No differences found