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

Why can't I see stash contents on Windows version

When I try to view a stash in this version, a loading indicator is displays indefinitely.   The stash contents are never displayed.  Is anyone else seeing this?

1 answer

0 votes
Mike Corsaro Atlassian Team May 26, 2017

Did that stash display in other versions? Additionally, 2.1 was released yesterday, could you give it a try?

The stash does not load in this version either.  I did notice that the loading indicator does not display right away (not sure if this changed in this version, or if I just missed that before).

Regardless, stashes still do not display.  I can reproduce this on a brand new repo as follows:

mceverm@computron ~/Downloads
$ mkdir test

mceverm@computron ~/Downloads
$ cd test

mceverm@computron ~/Downloads/test
$ git init
Initialized empty Git repository in /cygdrive/c/Users/mceverm/Downloads/test/.git/

mceverm@computron ~/Downloads/test
$ touch foo

mceverm@computron ~/Downloads/test
$ git add foo

mceverm@computron ~/Downloads/test
$ git commit -m 'initial commit'
[master (root-commit) 7c9083a] initial commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 foo

mceverm@computron ~/Downloads/test
$ echo asfd > foo

mceverm@computron ~/Downloads/test
$ git stash
Saved working directory and index state WIP on master: 7c9083a initial commit
HEAD is now at 7c9083a initial commit

mceverm@computron ~/Downloads/test
$ stree

My log has some sensitive code in it, so I would prefer not to upload the whole thing.  I can confirm that no lines are added when this occurs.

I think I may have just found a lead though.  The problem only seems to occur when I launch SourceTree from a cygwin shell.  I'm guessing this is a pretty big edge case for your users, so it won't hurt my feelings if it's not worth pursuing. 

Mike Corsaro Atlassian Team May 31, 2017

Ah, that's interesting... I'll take a look from my side and see if that lets me reproduce the issue. Thanks!

Mike Corsaro Atlassian Team May 31, 2017

Looks like running like that causes issues with the PATH setting -- which causes issues for ST as it won't be able to find the git.exe path. Can you try again, but go to "Toops>Options>Git" and set "Use Embedded Git" and see if that works?

Yep, that fixes it.  Thanks much!

Suggest an answer

Log in or Sign up to answer
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,917 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