• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.6.7
    • 2.6.6
    • Git
    • Sourcetree v. 2.6.6.0
      Embedded Git v. 2.17.1
      Windows 10

    • Severity 2 - Major

      I cannot fetch, pull or push since having installed the latest update 2.6.6.0 because whenever I do I get the error

       

      C:/Users /Thomas: line1: syntax error near unexpected token `('

       

      I was able to narrow down the search for the cause and found out that it is due to a whitespace character in my Windows user name, e.g. the location of the credential manager is

       

      C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe

       

      and it seems to not work because of the whitespace character between "Thomas" and "Flinkow".

      When I move the git-credential-manager.exe to a path that does not contain a whitespace character, everything works fine.

      But I don't want to have to rely on an inconvenient workaround; instead of having to copy & paste every git command to the console, edit the path by hand and execute it then every time I want to fetch, push or pull I want to be able to simply press the buttons in the UI like it was possible before the update.

            [SRCTREEWIN-8777] git-credential-manager.exe path with whitespace character

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JAC Bug Workflow v3 [ 3450007 ] New: SRCTREE JAC Bug Workflow [ 3744467 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: SourceTree Bug Workflow [ 2692662 ] New: JAC Bug Workflow v3 [ 3450007 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            minnsey made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            minnsey made changes -
            Fix Version/s New: 2.6.7 [ 80895 ]
            minnsey made changes -
            Status Original: Verified [ 10005 ] New: In Progress [ 3 ]
            minnsey made changes -
            Assignee New: minnsey [ mminns ]
            minnsey made changes -
            Status Original: Needs Verification [ 10004 ] New: Verified [ 10005 ]
            minnsey made changes -
            Labels New: git-credentials-manager
            Dmytro Vasyliuk (Inactive) made changes -
            Status Original: Open [ 1 ] New: Needs Verification [ 10004 ]
            Thomas Flinkow made changes -
            Description Original: I cannot fetch, pull or push since having installed the latest update 2.6.6.0 because whenever I do I get the error

             
            {code:java}
            C:/Users /Thomas: line1: syntax error near unexpected token `('{code}
             

            I was able to narrow down the search for the cause and found out that it is *due to a whitespace character in my Windows user name*, e.g. the location of the credential manager is

             
            {code:java}
            C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe{code}
             

            and it seems to not work because of the whitespace character between Thomas and Flinkow.

            When I move the git-credential-manager.exe to a path that does not contain a whitespace character, everything works fine.

            But I don't want to have to rely on an inconvenient workaround; instead of having to copy & paste every git command to the console, edit the path by hand and execute it then every time I want to fetch, push or pull I want to be able to simply press the buttons in the UI like it was possible before the update.
            New: I cannot fetch, pull or push since having installed the latest update 2.6.6.0 because whenever I do I get the error

             
            {code:java}
            C:/Users /Thomas: line1: syntax error near unexpected token `('{code}
             

            I was able to narrow down the search for the cause and found out that it is *due to a whitespace character in my Windows user name*, e.g. the location of the credential manager is

             
            {code:java}
            C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe{code}
             

            and it seems to not work because of the whitespace character between "Thomas" and "Flinkow".

            When I move the git-credential-manager.exe to a path that does not contain a whitespace character, everything works fine.

            But I don't want to have to rely on an inconvenient workaround; instead of having to copy & paste every git command to the console, edit the path by hand and execute it then every time I want to fetch, push or pull I want to be able to simply press the buttons in the UI like it was possible before the update.
            Thomas Flinkow created issue -

              mminns minnsey
              448e5d4e9ffa Thomas Flinkow
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: