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

How to keep the focus on the unstaged file when selecting "Stage hunk" ?

Stage consecutive hunks from the same unstaged file required to re-selecting this unstaged file repetively after each "Stage hunk". This is a little bit frustrating.

Is there a way to change this behaviour  in order to stay on the same unstaged file until all hunks have been staged ?

2 answers

Just updated Source Tree after half a year of absence and discovered this new "unfeature".

Source Tree used to keep the current file selected after "stage hunk" or "stage lines" operation. This seems to be no longer the case - it instead switches the selection over to the newly created stage.

This is in fact a change that is annoying enough for me to switch back to "git add -p".

Could you please tell me, in which version this was introduced and how to get access to the version preceding that one.





P.S.: This is on macOS 10.12 w/ SourceTree 2.7.1 (159).

0 votes
bgannin Atlassian Team Oct 11, 2017

What OS and version of Sourcetree are you using?

I'm getting this problem on:

- macOS Catalina v10.15.5

- Sourcetree v4.0.1 (234)

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,036 views 5 13
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