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 Oct 23, 2018 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...

946 views 3 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you