6 ms·
> Do you know how to read @@ -5,6 +5,7 @@ syntax? Do you not?
by neuromanser 2y ago
> Do you know how to read @@ -5,6 +5,7 @@ syntax?
Do you not?
- wffurr 2y agoNo, I sure don’t.
- pmayrgundter 2y ago20 years staring at it and no, i don't. i usually have to work it out from context. i think if you have vi or ed sensory organs it might work better for ya. which.. i still chuckle that vi is the visual editor, bc ed lol
- teaearlgraycold 2y agoNever needed to.
- snthpy 2y agoSame here. If there's a great ELI5 explanation somewhere, please post a link. Thanks
- NateEag 2y agoThe comma-separated number pairs are starting line number of hunk, and the number of lines in the hunk. The one starting with a minus sign is for the original file, the one with the plus prefix is for the new file. See https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html https://www.gnu.org/software/diffutils/manual/html_node/Deta... for a canonical source and more detail
- michaelcampbell 2y agoNo one knows anything until they learn it.