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

Yvan Dumas October 11, 2017

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

1 vote
Sascha Cunz March 26, 2018

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.

 

Thanks,

S.

 

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

0 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2017

What OS and version of Sourcetree are you using?

L_W June 17, 2020

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
TAGS
AUG Leaders

Atlassian Community Events