snaptoken / leg

Tools for making step-by-step code walkthroughs
MIT License
130 stars 2 forks source link

Clean up Diff#find_hunks and Diff#hunk_header #19

Open paigeruten opened 6 years ago

paigeruten commented 6 years ago

These are really complicated and probably don't work 100% of the time. Simplify and document the complexity that remains. Test it out with loads of diffs in the wild.