Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events