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

0 votes

What OS and version of Sourcetree are you using?

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).

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...

838 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