CombatWombatEsq@lemmy.world to Programming@programming.dev · 24 hours agoPSA: including a diff in your git commit message can lead to it being applied to the codegithub.comexternal-linkmessage-square11fedilinkarrow-up139arrow-down11
arrow-up138arrow-down1external-linkPSA: including a diff in your git commit message can lead to it being applied to the codegithub.comCombatWombatEsq@lemmy.world to Programming@programming.dev · 24 hours agomessage-square11fedilink
minus-squareverstra@programming.devlinkfedilinkarrow-up7arrow-down1·23 hours agoContext: this happens if you use patch(1) with patches generated by git format-patch. If you do, you should be using git am instead.
minus-squareCombatWombatEsq@lemmy.worldOPlinkfedilinkarrow-up9·edit-223 hours agoIt happens when you use git-am as well, per the thread
minus-squareCombatWombatEsq@lemmy.worldOPlinkfedilinkarrow-up7·22 hours agoThe final verdict being “it’s working as intended” is fully wild to me.
Context: this happens if you use
patch(1) with patches generated bygit format-patch. If you do, you should be usinggit aminstead.It happens when you use git-am as well, per the thread
Ha. Lol. That’s bad
The final verdict being “it’s working as intended” is fully wild to me.