LWN.net Logo

Smarter Diff

Smarter Diff

Posted May 29, 2008 16:56 UTC (Thu) by fmyhr (subscriber, #14803)
In reply to: Smarter Diff by nix
Parent article: Getting the right kind of contributions

Maybe keep stupid patch (line-by-line) but have smart diff that understands the language and
parses by tokens not lines? Patchfiles would still be noisy, but humans would ignore that and
look at output of smart diff to see what had really changed.


(Log in to post comments)

Smarter Diff

Posted May 29, 2008 16:59 UTC (Thu) by fmyhr (subscriber, #14803) [Link]

But that doesn't fix your pre- and post- de-K&R problem does it? Patch would have to be smart
(token, not line-based) too.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds