Skip to content
  • Junio C Hamano's avatar
    Libify diff-files. · 6973dcae
    Junio C Hamano authored
    
    
    This is the first installment to libify diff brothers.
    
    The updated diff-files uses revision.c::setup_revisions()
    infrastructure to parse its command line arguments, which means
    the pathname arguments are checked more strictly than before.
    The tests are adjusted to separate possibly missing paths from
    the rest of arguments with double-dashes, to show the kosher
    way.
    
    As Linus pointed out, renaming diff.c to diff-lib.c was simply
    stupid, so I am renaming it back.  The new diff-lib.c is to
    contain pieces extracted from diff brothers.
    
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
    6973dcae