On Sun, 9 Apr 2006, Peter Eriksen wrote: > On Sun, Apr 09, 2006 at 01:14:31PM -0400, Nicolas Pitre wrote: > ... > > Nothing outside diff-delta.c and patch-delta.c is aware of the delta > > data format. So if your version is meant to be a transparent > > replacement then it should pass all tests. If it doesn't then it is > > broken. > > > > To help you play around you could try the test-delta utility (make > > test-delta to build it). > > > > So: > > > > test-delta -d file1 file2 delta_file > > test-delta -p file1 delta_file file3 > > cmp file2 file3 > > My tests of these kinds doesn't show any errors. Try this with the README file from the git source tree: sed s/git/GIT/g < ./README > /tmp/README.mod test-delta -d ./README /tmp/README.mod /tmp/README.delta [BOOM!] > Though, if file2 is empty, test-delta writes: "file2: Invalid > argument". We never delta against or towards empty files. Nicolas - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Mon Apr 10 03:45:41 2006
This archive was generated by hypermail 2.1.8 : 2006-04-10 03:45:56 EST