SmartGit upgrade on MacOS fails with “Directory ‘…/AppTranslocation/…/SmartGit.new.app’ could not be created”

Depending on how you run/install SmartGit, on upgrade you may run into read-only file system problems which are caused by App Translocation. This happens:

  1. if started directly from the DMG file by double-clicking the SmartGit.app; or
  2. if copied from the DMG file to a different location (like Applications) without using Finder, e.g. from terminal by cp -R /Volumes/SmartGit\ 20.1.2/SmartGit.app /Applications

In both cases, in SmartGit’s About dialog, page Information, we can see for Java Version a translocated path containing AppTranslocation.

To resolve case (1), we can simply copy SmartGit.app from the DMG file to the preferred location (e.g. “Applications”) using Finder.

In case of (2), from terminal, we can see that the extended attribute “com.apple.quarantine” is set:

$ xattr -l SmartGit.app
com.apple.quarantine: ...;...;Safari;...

We can get rid of this attribute using:

$ xattr -d com.apple.quarantine SmartGit.app

Now, when restarting SmartGit, the About dialog will show the actual installation path.

Credits to:
https://lapcatsoftware.com/articles/app-translocation.html
https://apple.stackexchange.com/questions/87313

Be sure that core.ignoreCase matches your OS!

When copying repositories back and forth between Windows and Linux/MacOS, you may end up either with core.ignoreCase=false on Windows or core.ignoreCase=true on Linux. Both configurations will usually cause troubles and are not supported by Git [1].

To avoid this, you may unset the core.ignoreCase configuration in your repository root:

$ git config --unset core.ignoreCase

As Git’s internal default is false, there is nothing more to do on Linux/MacOS. On Windows, you have to add core.ignoreCase=true as global default:

$ git config --global core.ignoreCase true

[1] https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreignoreCase

Remote git commands fail with “protocol error: bad line length character: Acti”

If you encounter an error “protocol error: bad line length character: Acti” (the last 4 characters might be different) when executing a remote Git command in SmartGit on Windows, please launch cmd.exe and look for some default output (in our case, e.g. Active code page: 65001). This might be caused by a so-called autorun script which can be configured at the registry key AUTORUN at HKLM\SOFTWARE\Microsoft\Command Processor.

Solution: Ensure that the script does not output anything.

SmartGit 20.1 released!

We are delighted to announce the official release of SmartGit 20.1. First, we want to thank all users who have tested the preview versions and provided valuable feedback. Without you, the progress would not have been possible!

We have taken the SmartGit user feedback at smartgit.userecho.com seriously and implemented some of the most requested features. SmartGit 20.1

  • improves the performance, especially with Git 2.25+,
  • improves the dark theme,
  • unified the working tree and index nodes in the log graph,
  • optionally show the working tree and index files in different lists,
  • and improved a lot of other existing features.

Check out What’s New for a more detailed list of improvements in version 20.1.

SmartGit is a graphical front-end for the distributed version control systems Git which also can be used to work with Subversion repositories. SmartGit runs on 64-bit systems of Windows 7 – 10, macOS 10.11 – 10.15 and Linux.

SmartGit can be used free of charge for non-commercial purposes (e.g. by OpenSource developers, students, teachers or certain welfare institutions). For commercial use or if support is needed, you can purchase commercial licenses. The commercial licenses include up to 3 years of e-mail support and up to life-long free updates. For early adopters, we are offering up to 40% early adopter discount until April 10th 2020. Details can be found when launching SmartGit or by our Twitter, Facebook and Google+ channels.

Download SmartGit 20.1

Note: if you already have an existing installation of SmartGit and your license supports free upgrades, you will be upgraded automatically during the next couple of days.