M1: embedded git don't work

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • None
    • Affects Version/s: 4.1.6
    • Component/s: Git
    • None
    • Severity 2 - Major

      I am using Sourcetree 4.1.6 on a M1 Mac without rosetta 2.

      All things works fine, but I have to switch from the embedded git to the System git (provided by apple).

      % /Applications/SourceTree.app/Contents/Resources/git_local/bin/git
      zsh: bad CPU type in executable: /Applications/SourceTree.app/Contents/Resources/git_local/bin/git 

      My main problem is, that I have to use git-crypt. The previous hack with 

      sudo ln -s /opt/homebrew/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/git_local/bin/git-crypt 

      didn't work in the case of system git.

      In case of system git with git-crypt (at console is it working), I got the error:

      'git status' failed with code 128:'"git-crypt" clean: git-crypt: command not found
      error: external filter '"git-crypt" clean' failed 127
      error: external filter '"git-crypt" clean' failed
      fatal: _secrets/filessss_: clean filter 'git-crypt' failed
      '

      (I don't understand why system git with system git-crypt not work in sourcetree, but I think that is another problem.)

      I think the issue could be resolved, if sourcetree embedd an arm64 git solution.

            Assignee:
            Raman Sidarakin (Inactive)
            Reporter:
            ireinhart
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: