CombatWombatEsq@lemmy.world to Programming@programming.dev · 1 day agoPSA: including a diff in your git commit message can lead to it being applied to the codegithub.comexternal-linkmessage-square12fedilinkarrow-up154
arrow-up154external-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 · 1 day agomessage-square12fedilink
minus-squareverstra@programming.devlinkfedilinkarrow-up8·1 day 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-21 day agoIt happens when you use git-am as well, per the thread
minus-squareCombatWombatEsq@lemmy.worldOPlinkfedilinkarrow-up9·1 day 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.