stgit.git.tree_status() had another filename quoting issue, similar to the one just fixed. Test for that one too. Signed-off-by: Karl Hasselström <kha@xxxxxxxxxxx> --- t/t3200-non-ascii-filenames.sh | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/t/t3200-non-ascii-filenames.sh b/t/t3200-non-ascii-filenames.sh index a04ead8..055b152 100755 --- a/t/t3200-non-ascii-filenames.sh +++ b/t/t3200-non-ascii-filenames.sh @@ -10,7 +10,7 @@ test_expect_success 'Setup' ' stg init && echo foo > unrelated.txt && git add unrelated.txt && - stg new -m "Unrelated file" && + stg new p0 -m "Unrelated file" && stg refresh && stg pop && rm skärgårdsö.txt && @@ -24,4 +24,15 @@ test_expect_success 'Rebase onto changed non-ASCII file' ' stg rebase upstream ' +test_expect_success 'Setup' ' + stg delete p0 && + git reset --hard HEAD^ && + echo "-- ett liv mitt ute i vattnet" >> skärgårdsö.txt && + stg new p1 -m "Describe island" +' + +test_expect_failure 'Refresh changes to non-ASCII file' ' + stg refresh +' + test_done -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html