It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I increase speed of processing (log and status) while using multiple sub-projects somehow? Edited

Hi,

My project uses multiple sub-modules. This causes the time taken on git log and git status to be high.  I was wondering if I can use some method to speeden up the process.

Every time I switch to a different tab on source tree (different tabs opening different sub-modules) and come back to the main project, the software starts re-checking all the code for any changes.This wastes a lot of time which I'd rather use for something else.

At times I will pull changes done by my peers (once a day or two usually), and a lot of times I'll be pulling their changes to a sub-module. Source tree will in this case again take a log time checking the status; this is again a big waste of time for me.

I blame git for being slow for these scenarios, but I can see this being a common problem. I was wondering if there's an answer for this I haven't discovered. Please share if you know one.

Thanks

1 answer

0 votes
Mike Corsaro Atlassian Team Oct 09, 2019

Hello! Are you using Mac or Windows?

 

On Windows, we've done some work on improving this, but it could be better of course. First, you'll want to:

  • Make sure you're using the latest version of Sourcetree (3.2.6)
  • Make sure you're using the newest version of Git, and that Sourcetree is using System Git
    • You can find that setting under Options > Git
    • The latest version of git is 2.23.0. There's been quite a few performance improvement with submodules in the last few updates

 

There's also a few options related to submodules that may help:

  • Under "Git"
    • Perform submodule actions recursively (try unchecking this)
    • Disable LibGit2 integration (make sure this is checked)
  • Under "General"
    • Refresh automatically when files change (uncheck this)
    • Refresh when the application is not in focus (uncheck this)

Thanks for the answer. 

Though for some reason (it may not be due to these changes), but if I try to remove changes for a file now; source tree hangs and I have to close it.

Update: My source tree kept hanging and crashing when I tried committing or pushing any code. In the end, I had to restart my PC and source tree asked me to go back to the initial settings.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,937 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you