Skip to content

Commit 0e2df34

Browse files
committed
git-svn-synchronizer: git-svn strips trailing slashes off of URLs
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9e7c3dc commit 0e2df34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn-synchronizer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ then
7373
fi
7474

7575
# initialize the Subversion URL
76-
if ! test -d .git/svn || test "a$SVN_URL" != "a$(git config svn-remote.svn.url)"
76+
if ! test -d .git/svn || test "a${SVN_URL%/}" != "a$(git config svn-remote.svn.url)"
7777
then
7878
# Try standard trunk/branches/tags setup first
7979
git svn init -s "$SVN_URL" &&

0 commit comments

Comments
 (0)