Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-3012

Not supported files with special characters (despite being supported by GIT and OS X)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • Git, Mercurial
    • None
    • Severity 2 - Major

    Description

      As detailed in [1], SourceTree does not properly support files whose name include special characters, like the ones detailed on Atlassian Answers (Catalan's "ç" and Spanish "ñ").

      For English users is easy to say it's not recommended to use them, but for most non-English projects this can be a real issue if they include files generated, for example, by end-users.

      As it's the case of many non-English projects, I've prioritized it as a "Blocker" issue (in fact, I currently cannot merge form SourceTree a branch which includes many of them.

      I've attached some images:

      • The "importAssetsAndRelationships_LAE_Logroño.xls" was detected as to be deleted by SourceTree.
      • If tried to stage it, the following error message appeared:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree rm -q -f – xms/framework/architecture/integtests/src/test/resources/importAssetsAndRelationships_LAE_Logroño.xls
      fatal: pathspec 'xms/framework/architecture/integtests/src/test/resources/importAssetsAndRelationships_LAE_Logroño.xls' did not match any files
      Completed with errors, see above

      • If I try to re-create it by adding it to the browser, it appears both as new and modified (see the attached "st.png").
      • If I go to the command line, I can see the following (please, notice how the special character is represented by git as "\303\"):

      [code]

      1. On branch feature/GC-1895
      2. Your branch is ahead of 'bitbucket/feature/GC-1895' by 4 commits.
        #
      3. Changes not staged for commit:
      4. (use "git add/rm <file>..." to update what will be committed)
      5. (use "git checkout – <file>..." to discard changes in working directory)
        #
      6. modified: "importAssetsAndRelationships_LAE_ACoru\303\261a.xls"
      7. modified: "importAssetsAndRelationships_LAE_Logro\303\261o.xls"
      8. deleted: "../../../../../risk/integtests/src/test/resources/importAssetQualitativeValues_LAE_ACoru\303\261a.xls"
      9. deleted: "../../../../../risk/integtests/src/test/resources/importAssetQualitativeValues_LAE_Logro\303\261o.xls"
      10. deleted: "../../../../../risk/integtests/src/test/resources/importAssetRisks_LAE_ACoru\303\261a.xls"
      11. deleted: "../../../../../risk/integtests/src/test/resources/importAssetRisks_LAE_Logro\303\261o.xls"
        #
      12. Untracked files:
      13. (use "git add <file>..." to include in what will be committed)
        #
      14. "importAssetsAndRelationships_LAE_ACorun\314\203a.xls"
        no changes added to commit (use "git add" and/or "git commit -a")
        MacBook-Pro-de-Oscar-Bou-Bou:resources oscarboubou$

      [code]

      Thanks for your comprehension!

      [1] https://answers.atlassian.com/questions/321885/git-sourcetree-on-osx-and-?continue=https%3A%2F%2Fanswers.atlassian.com%2Fquestions%2F321885%2Fgit-sourcetree-on-osx-and-&application=acac

      Attachments

        1. Browser.png
          188 kB
          o.bou@gesconsultor.com
        2. st.png
          824 kB
          o.bou@gesconsultor.com

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5ce478d46089 o.bou@gesconsultor.com
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: