CombatWombatEsq@lemmy.world to Programming@programming.dev · 3 days agoPSA: including a diff in your git commit message can lead to it being applied to the codegithub.comexternal-linkmessage-square19fedilinkarrow-up167arrow-down11
arrow-up166arrow-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 · 3 days agomessage-square19fedilink
minus-squareverstra@programming.devlinkfedilinkarrow-up9arrow-down2·3 days 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-up11·edit-23 days agoIt happens when you use git-am as well, per the thread
minus-squareCombatWombatEsq@lemmy.worldOPlinkfedilinkarrow-up9·3 days 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.