-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow loading when path subdirectory doesn't have git initialized #126
Comments
I'm not sure what is going on in your specific case. I have subdirectories without initialized git repos and don't have any delay. Do you have any other specific information? |
I don't know what info might help you here. I have my coding directory with 107 repos (the one I initialized git in all of them) and works faster than a test directory in which I added 3 non initialized git subdirectories.
coding directory with 107 subdirectories:
tms_test directory with 3 non initialized git directories:
I think it is important to also note that the subdirectories of |
I've also noticed that python directories are also causing a bit of a delay with its
which is still greater than the |
After deleting the other python
All the tests were done with |
After I installed the tool and configured the path to my
coding
directory, loading the sessions took a few seconds.I started to indagate into the problem, by copying one by one the subdirectories to another path. I found that when I added a subdirectory without an initialized git repo, the time was increased by a few seconds (instead of milliseconds).
I tried configuring
--max-depths 1
with no noticeable effect.The workaround that solved the loading time for me was to make a script to run
git init
in each subdirectory.The text was updated successfully, but these errors were encountered: