Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When cloning a repository with Just initialize clone (expert mode) option, SmartGit will only create a repository stub which will be reported as incomplete. This allows you to tweak the Translation options and the Tracking Configuration by changing the .git/svn/.svngit/svngitkit.config file accordingly. After you have done so, you will have to restart the clone by pulling your repository.

Note

Changing the configuration, either by tweaking the configuration files or even After the clone has been initialized, only [svn-git-remote] can be tweaked. [core] options can't be changed anymore at this stage, instead they have to be customized using system properties before starting SmartGit. Changing the [core] configuration by system properties, will not only affect SmartGit's processing but also the Git repository configuration:

  • If you set processEols=false, then core.autocrlf is set to true: the idea behind this logic is that if EOLs are controlled by .gitattributes settings (processEols=true), then core.autocrlf should be false in order not to interfere with .gitattributes. If processEols=false then there will be no .gitattributes which (usually) performs CRLF-to-LF canonicalization in the repository (what usually is desirable). core.autocrlf=true has proven to be the lesser evil in this case.

...