Today our git repository host warned that our SPJ file is halfway to the maximum file they’ll store(100MB). It’s a bummer, because git has been handling the large number of small patches to the SPJ file quite well. Of our 50MB SPJ file, about 30MB is spaces, and replacing 4 space with a tab reduces the SPJ file size roughly in half.
I’d like to suggest considering tabs for SPJ indentation. Sadly, this will make a single giant conflicting commit when the project is converted.
We’re also going to look at setting up git-lfs to hold our SquareLine project.
In preferences, turn off the ‘Format .spj and .ecomp files’ checkbox, and this way the spj file will be a continuous text. This way the file will be smaller and the project loading will be faster.
Without ‘Format .spj and .ecomp files’, everything is one one line, which makes it very, very difficult to merge changes from multiple developers or branches.
Switching to tabs sounds like a practical way to reduce file size, though the conversion might be tricky. Git LFS could also help manage large files without affecting repo performance.