Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Sourcetree commit button does nothing.


I'm running version 3.0.8 for Windows, and when I press Commit button, the "Checking submodules" dialog shows for half a second, and then nothing. No error message, and nothing has been commited. I can commit using the command line, however.

I previously "solved" this problem by uninstalling, deleting the userdata, and reinstalling (a simple reinstall was not sufficient).

But this is getting tedious. How can I get to the bottom of this?

Update: The log file says:

ERROR [2018-11-19 12:17:28,440] [49] [SourceTree.ViewModel.RepoDialogContainer] [Log] - The calling thread must be STA, because many UI components require this.

System.InvalidOperationException: The calling thread must be STA, because many UI components require this.

at System.Windows.Input.InputManager..ctor() at System.Windows.Input.InputManager.GetCurrentInputManagerImpl() at System.Windows.Input.KeyboardNavigation..ctor() at System.Windows.FrameworkElement.FrameworkServices..ctor() at System.Windows.FrameworkElement.EnsureFrameworkServices() at System.Windows.FrameworkElement..ctor() at System.Windows.Controls.Control..ctor() at SourceTree.View.Controls.DialogFileListControl..ctor(IEnumerable`1 items) at SourceTree.ViewModel.CommitAndFileStatusViewModel.CreateDisabledStagingViewCommitProcess(CommitOptions commitOptions, String useAuthor) at SourceTree.ViewModel.CommitAndFileStatusViewModel._FinaliseCommit() at SourceTree.ViewModel.CommitAndFileStatusViewModel.SubmoduleDialogCompleted(AbstractDialogViewModel repoDlg, Int32 returnCode) at SourceTree.ViewModel.AbstractDialogViewModel.Finish(Int32 returnCode) at SourceTree.ViewModel.SubmoduleCheckDialogViewModel.<RefreshSubmodules>d__46.MoveNext()

1 answer

0 votes
minnsey Atlassian Team Nov 19, 2018


I'm afraid I don't have an immediate solution, but can I ask for a little more detail, are you using Git or Mercurial and do you have submodules/subrepos ?


Using Git, and yes - there are submodules.

minnsey Atlassian Team Dec 06, 2018


I've added it as a bug on our backlog

Could you add any more details there? e.g. does it matter if the submodule as pending changes or not etc.


Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,263 views 5 14
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