The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new 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

TAGS
AUG Leaders

Atlassian Community Events