author | Junio C Hamano <junkio@cox.net> | |
Sat, 22 Apr 2006 06:57:45 +0000 (23:57 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 22 Apr 2006 09:37:45 +0000 (02:37 -0700) | ||
commit | 6973dcaee76ef7b7bfcabd2f26e76205aae07858 | |
tree | d402af70d42da329136fe82692c91eb8d7d68260 | tree | snapshot |
parent | e64961b0573b0e72bd55eab6d36bd97f859f9516 | commit | diff |
Libify diff-files.
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: Junio C Hamano <junkio@cox.net>
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: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
diff-files.c | diff | blob | history | |
diff-lib.c | diff | blob | history | |
diff.c | [new file with mode: 0644] | blob |
diff.h | diff | blob | history | |
t/t1001-read-tree-m-2way.sh | diff | blob | history | |
t/t1002-read-tree-m-u-2way.sh | diff | blob | history |