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-square18linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-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-square18linkfedilink
minus-squareverstra@programming.devlinkfedilinkarrow-up0·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-up0·3 days agoIt happens when you use git-am as well, per the thread
minus-squareCombatWombatEsq@lemmy.worldOPlinkfedilinkarrow-up0·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.