Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-8777

git-credential-manager.exe path with whitespace character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 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

    Description

      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.

      Attachments

        Activity

          People

            mminns minnsey
            448e5d4e9ffa Thomas Flinkow
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: