Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

View whole stash in SourceTree

When viewing the changes in a stash in SourceTree, some of the files changed don't show all changes.  How can I view (within SourceTree) all of the changes?

6 answers

This is still an issue.  I thought I was going crazy.  If you go to the CLI and show the stash, it is complete, but Sourcetree does not provide a way to view all of it (Windows 8, ST: 3.1.3, Git: 2.22.0).  This is a significant drawback IMHO.

It's been years and no one fixes it ???

It's only showing the first hundred lines of files that have been deleted or added.  I found editing the "Max Diff Line Count" (I put it arbitrarily large to 10,000 instead of stupidly small default of 100) option in Tools -> Options -> Diff fixed it.  But it still doesn't show the full contents of added/deleted files.

stash.jpg

by increasing the Max File Count and Max Diff Line Count in the Tools > Options > Diff.

It is worked for me. Source: https://stackoverflow.com/a/49233401/2462531

0 votes
sreekumar_menon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 28, 2015

I believe this is a limitation in windows version, you have the option to open it in an external tool from within sourcetree.

No, you cannot diff the files in a STASH in an external tool.  This problem still exists today.  Any file with more than 100 lines that you added to a stash cannot be viewed in the stash.  You have to apply the stash to its original branch in order to recover it.  This makes stashes difficult to use when trying to manually merge changes from one branch to another.

Like # people like this

The SourceTree UI for this task is not helpful.  To get the full source out of a stash, you can run a 'git stash show -p stash@{0}' command in a git bash shell.  You can redirect the output into a text file and grab your complete stash source.

I found my answer here: https://stackoverflow.com/questions/37208438/see-full-content-of-stash-in-sourcetree

Like skutle likes this
0 votes
sreekumar_menon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 26, 2015

can you attach  a screenshot to understand your question better?

0 votes
HarryH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 26, 2015

Try to remove the index on the file, then add the index again.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events