• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • 4.2.0
    • Git
    • None
    • Minor

      The main executable file, `Sourcetree`, is universal (x86_64 and arm64), but the git binary utilities are not.

       

      $ file Sourcetree
      Sourcetree: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64Mach-O 64-bit executable x86_64] [arm64]
      Sourcetree (for architecture x86_64): Mach-O 64-bit executable x86_64
      Sourcetree (for architecture arm64): Mach-O 64-bit executable arm64
      $ file ../Resources/git_local/bin/git
      ../Resources/git_local/bin/git: Mach-O 64-bit executable x86_64

       

      git runs translated by Rosetta 2. It works but with suboptimal performance.

            [SRCTREE-7944] git binaries are not universal

            Fix for this issue is available in Sourcetree 4.2.2

            Raman Sidarakin (Inactive) added a comment - Fix for this issue is available in Sourcetree 4.2.2

            Hi, 7c9b2f19de04 .

            Thanks for pointing on this. You are right, embedded git binaries have no slice for arm64 architecture. We will work to provide a fix this in future releases.

            For now, in case you affected by performance, you could configure Sourcetree to use system git. Just open Sourcetree preferences -> Git -> press "Use system git" button. Select git binaries installed in your system and Sourcetree will work with your system git.

            Thank you!

            Raman Sidarakin (Inactive) added a comment - Hi, 7c9b2f19de04  . Thanks for pointing on this. You are right, embedded git binaries have no slice for arm64 architecture. We will work to provide a fix this in future releases. For now, in case you affected by performance, you could configure Sourcetree to use system git. Just open Sourcetree preferences -> Git -> press "Use system git" button. Select git binaries installed in your system and Sourcetree will work with your system git. Thank you!

              Unassigned Unassigned
              7c9b2f19de04 Leo Wang
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: