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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

666 views 0 4
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