diff options
author | Michael G. Schwern <schwern@pobox.com> | 2012-07-26 16:22:25 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-07-27 22:14:54 +0000 |
commit | 5c71028fced46d03bf81b8625680d9ac87c8f4f0 (patch) | |
tree | c61b5b44816bba09f61bed84fc30be62affa0b6f /git-svn.perl | |
parent | 29499c0b2741cc2ea13b78a342048bad928dfe2a (diff) | |
download | git-5c71028fced46d03bf81b8625680d9ac87c8f4f0.tar.gz |
Move initialization of Git::SVN variables into Git::SVN.
Also it can compile on its own now, yay!
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/git-svn.perl b/git-svn.perl index 81d034ae51..9269d80a6d 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -20,10 +20,7 @@ my $cmd_dir_prefix = eval { my $git_dir_user_set = 1 if defined $ENV{GIT_DIR}; $ENV{GIT_DIR} ||= '.git'; -$Git::SVN::default_repo_id = 'svn'; -$Git::SVN::default_ref_id = $ENV{GIT_SVN_ID} || 'git-svn'; $Git::SVN::Ra::_log_window_size = 100; -$Git::SVN::_minimize_url = 'unset'; if (! exists $ENV{SVN_SSH} && exists $ENV{GIT_SSH}) { $ENV{SVN_SSH} = $ENV{GIT_SSH}; @@ -114,7 +111,6 @@ my ($_stdin, $_help, $_edit, # This is a refactoring artifact so Git::SVN can get at this git-svn switch. sub opt_prefix { return $_prefix || '' } -$Git::SVN::_follow_parent = 1; $Git::SVN::Fetcher::_placeholder_filename = ".gitignore"; $_q ||= 0; my %remote_opts = ( 'username=s' => \$Git::SVN::Prompt::_username, |