SourceTree misidentifies git installed via scoop

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 3.0.17
    • Component/s: Git
    • Severity 2 - Major

      Scoop is a command line installer for Windows, think apt-get but for Windows. I used it to install `git`, and then Sourcetree. On installation, Sourcetree unfortunately misidentifies the location of git.exe:

      There is no `cmd` folder under `scoop`:

      But there is a `cmd/git.exe` in `C:\Users\Jan\scoop\apps\git\current\cmd`:

      Seems the installer is somehow using a a wrong path, and then adding `cmd/git.exe` to it. Maybe because Scoop is installing a shim for git in `C:\Users\Jan\scoop\shims\git.exe`? Go a folder back, then add `cmd/git.exe` and you have the wrong path.

      Here is a GitHub issue on the scoop bucket that contains Sourcetree: https://github.com/lukesampson/scoop-extras/issues/1674 In there I collected some links to other issues on GitHub but also in the Atlassian Community, that helped me understand the issue and also provides a workaround by manually editing the path in the Sourcetree configuration.

        1. Professional-Cloud-Architect-dumps.pdf
          408 kB
          Wendy Lambert
        2. image-2019-01-30-15-41-49-860.png
          12 kB
          janpio
        3. image-2019-01-30-15-41-16-610.png
          10 kB
          janpio
        4. image-2019-01-30-15-37-23-995.png
          23 kB
          janpio

            Assignee:
            Unassigned
            Reporter:
            janpio
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: