From: Eric Wong Date: Mon, 15 Feb 2016 00:30:09 GMT Subject: Re: [PATCH 1/2] git-svn: enable "svn.pathnameencoding" on dcommit Message-ID: <20160215003009.GA19400@dcvr.yhbt.net> In-Reply-To: <56B8B23F.2020901@f2.dion.ne.jp> Kazutoshi Satoda wrote: > Signed-off-by: Kazutoshi SATODA Signed-off-by: Eric Wong Thanks, it took me some time to figure out the test case which I will amend: diff --git a/t/t9115-git-svn-dcommit-funky-renames.sh b/t/t9115-git-svn-dcommit-funky-renames.sh index 6a48e40..82222fd 100755 --- a/t/t9115-git-svn-dcommit-funky-renames.sh +++ b/t/t9115-git-svn-dcommit-funky-renames.sh @@ -77,11 +77,21 @@ test_expect_success 'make a commit to test rebase' ' ' test_expect_success 'git svn rebase works inside a fresh-cloned repository' ' - cd test-rebase && + ( + cd test-rebase && git svn rebase && test -e test-rebase-main && test -e test-rebase - ' + )' + +test_expect_success 'svn.pathnameencoding=cp932 new file on dcommit' ' + neq=$(printf "\201\202") && + git config svn.pathnameencoding cp932 && + echo neq >"$neq" && + git add "$neq" && + git commit -m "neq" && + git svn dcommit +' stop_httpd -- EW