fork-dev / Tracker

Bug and issue tracker for Fork for Mac
498 stars 12 forks source link

[BUG] Cannot commit just selected lines #1995

Closed touho closed 8 months ago

touho commented 9 months ago

When you have multiple changes lines in a single file and you have staged only some changed lines, commit button will include also unstaged changes in that file.

This bug didn't happen ~couple of weeks ago and Fork has auto updated meanwhile.

Fork Version: 2.33 Reproduced 3 out of 3 times.

DanPristupov commented 9 months ago

Check hooks you installed ~couple of weeks ago.

TouhoHH commented 8 months ago

What a fantastical advise!

Found a comment in our project's hooks: # Format every changed file & re-add to commit.

Thanks for help! Sorry for suspecting the best git gui. 😄