Can't open /usr/local/git/share/git-core/templates if xcode not installed

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.0.2
    • Component/s: General
    • None
    • Major

      Fails cloning URL, for example https://git.code.sf.net/p/squirrel-sql/git.Shows error message including:

      warning: templates not found /usr/local/git/share/git-core/templates

       

      Xcode is not installed.

      Sourcetree should/could be able to run on its own.

       

      Btw the templates are not needed it seems, I realised because my Sourcetree is not installed in /Applications but it work never the less when setting template dir to standard values (see below).

       

      Workaround is adding this to .gitconfig:

      [init]

      templatedir = <path to sourcetree>/SourceTree.app/Contents/Resources/git_local/share/git-core/templates

       

      This seems to be standard:

      templatedir = /Applications/SourceTree.app/Contents/Resources/git_local/share/git-core/templates

       

            Assignee:
            Unassigned
            Reporter:
            Jørgen Nørgaard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: