File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ COMMANDS
91
91
NOTE: Before Git v2.0, the default prefix was "" (no prefix). This
92
92
meant that SVN-tracking refs were put at "refs/remotes/*", which is
93
93
incompatible with how Git's own remote-tracking refs are organized.
94
+ If you still want the old default, you can get it by passing
95
+ `--prefix ""` on the command line (`--prefix=""` may not work if
96
+ your Perl's Getopt::Long is < v2.37).
94
97
95
98
--ignore-paths=<regex>;;
96
99
When passed to 'init' or 'clone' this regular expression will
Original file line number Diff line number Diff line change @@ -101,18 +101,18 @@ test_expect_success 'clone with -s/-T/-b/-t assumes --prefix=origin/' '
101
101
rm -f warning
102
102
'
103
103
104
- test_expect_success ' init with -s/-T/-b/-t and --prefix= "" still works' '
104
+ test_expect_success ' init with -s/-T/-b/-t and --prefix "" still works' '
105
105
test ! -d project &&
106
- git svn init -s "$svnrepo"/project project --prefix= "" 2>warning &&
106
+ git svn init -s "$svnrepo"/project project --prefix "" 2>warning &&
107
107
test_must_fail grep -q prefix warning &&
108
108
test_svn_configured_prefix "" &&
109
109
rm -rf project &&
110
110
rm -f warning
111
111
'
112
112
113
- test_expect_success ' clone with -s/-T/-b/-t and --prefix= "" still works' '
113
+ test_expect_success ' clone with -s/-T/-b/-t and --prefix "" still works' '
114
114
test ! -d project &&
115
- git svn clone -s "$svnrepo"/project --prefix= "" 2>warning &&
115
+ git svn clone -s "$svnrepo"/project --prefix "" 2>warning &&
116
116
test_must_fail grep -q prefix warning &&
117
117
test_svn_configured_prefix "" &&
118
118
rm -rf project &&
You can’t perform that action at this time.
0 commit comments