Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stage and commit hunk commits whole file instead

Eirini Pappa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 13, 2017

I've been noticing this for a while now and don't know why it happens.


When staging a hunk and hit commit, it commits instead the whole file and not just the hunk I staged.

This happens only with some repos, in some others it seems that it's working like it should, that is committing only the staged hunks/files.

2 answers

0 votes
oyvindmidtbo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2019

I'm experiencing this right now. I'm on version 3.2.1 on macOS 10.14.6.

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 15, 2017

Hi

I've not experienced that behaviour. Is it reproducible on demand?


Which version of Sourcetree are you running? And can you add some more detail about the order of events, which buttons where you are clicking etc?

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events