From: Jonathan Nieder Date: Thu, 26 May 2011 07:27:48 +0000 (-0500) Subject: Merge branch 'db/delta-applier' into db/text-delta X-Git-Tag: v1.7.10-rc0~118^2~4^2~2^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9f3f8b6f4141dae526e9792ba6dede7aa038622;p=git.git Merge branch 'db/delta-applier' into db/text-delta * db/delta-applier: vcs-svn: let deltas use data from preimage vcs-svn: let deltas use data from postimage vcs-svn: verify that deltas consume all inline data vcs-svn: implement copyfrom_data delta instruction vcs-svn: read instructions from deltas vcs-svn: read inline data from deltas vcs-svn: read the preimage when applying deltas vcs-svn: parse svndiff0 window header vcs-svn: skeleton of an svn delta parser vcs-svn: make buffer_read_binary API more convenient vcs-svn: learn to maintain a sliding view of a file Makefile: list one vcs-svn/xdiff object or header per line Conflicts: Makefile vcs-svn/LICENSE --- e9f3f8b6f4141dae526e9792ba6dede7aa038622 diff --cc Makefile index 91e20d29c,cd7dd9723..e954dffa9 --- a/Makefile +++ b/Makefile @@@ -1832,11 -1841,27 +1837,23 @@@ GIT_OBJS := $(LIB_OBJS) $(BUILTIN_OBJS ifndef NO_CURL GIT_OBJS += http.o http-walker.o remote-curl.o endif - XDIFF_OBJS = xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o \ - xdiff/xmerge.o xdiff/xpatience.o - VCSSVN_OBJS = vcs-svn/line_buffer.o vcs-svn/repo_tree.o \ - vcs-svn/fast_export.o vcs-svn/svndump.o - VCSSVN_TEST_OBJS = test-line-buffer.o + + XDIFF_OBJS += xdiff/xdiffi.o + XDIFF_OBJS += xdiff/xprepare.o + XDIFF_OBJS += xdiff/xutils.o + XDIFF_OBJS += xdiff/xemit.o + XDIFF_OBJS += xdiff/xmerge.o + XDIFF_OBJS += xdiff/xpatience.o + -VCSSVN_OBJS += vcs-svn/string_pool.o + VCSSVN_OBJS += vcs-svn/line_buffer.o + VCSSVN_OBJS += vcs-svn/sliding_window.o + VCSSVN_OBJS += vcs-svn/repo_tree.o + VCSSVN_OBJS += vcs-svn/fast_export.o + VCSSVN_OBJS += vcs-svn/svndiff.o + VCSSVN_OBJS += vcs-svn/svndump.o + -VCSSVN_TEST_OBJS += test-obj-pool.o -VCSSVN_TEST_OBJS += test-string-pool.o + VCSSVN_TEST_OBJS += test-line-buffer.o -VCSSVN_TEST_OBJS += test-treap.o + OBJECTS := $(GIT_OBJS) $(XDIFF_OBJS) $(VCSSVN_OBJS) dep_files := $(foreach f,$(OBJECTS),$(dir $f).depend/$(notdir $f).d) @@@ -1955,15 -1980,28 +1972,25 @@@ connect.o transport.o http-backend.o: u http-fetch.o http-walker.o remote-curl.o transport.o walker.o: walker.h http.o http-walker.o http-push.o http-fetch.o remote-curl.o: http.h url.h - xdiff-interface.o $(XDIFF_OBJS): \ - xdiff/xinclude.h xdiff/xmacros.h xdiff/xdiff.h xdiff/xtypes.h \ - xdiff/xutils.h xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h - - $(VCSSVN_OBJS) $(VCSSVN_TEST_OBJS): $(LIB_H) \ - vcs-svn/line_buffer.h vcs-svn/repo_tree.h vcs-svn/fast_export.h \ - vcs-svn/svndump.h - - test-svn-fe.o: vcs-svn/svndump.h + XDIFF_H += xdiff/xinclude.h + XDIFF_H += xdiff/xmacros.h + XDIFF_H += xdiff/xdiff.h + XDIFF_H += xdiff/xtypes.h + XDIFF_H += xdiff/xutils.h + XDIFF_H += xdiff/xprepare.h + XDIFF_H += xdiff/xdiffi.h + XDIFF_H += xdiff/xemit.h + + xdiff-interface.o $(XDIFF_OBJS): $(XDIFF_H) + -VCSSVN_H += vcs-svn/obj_pool.h -VCSSVN_H += vcs-svn/trp.h -VCSSVN_H += vcs-svn/string_pool.h + VCSSVN_H += vcs-svn/line_buffer.h + VCSSVN_H += vcs-svn/sliding_window.h + VCSSVN_H += vcs-svn/repo_tree.h + VCSSVN_H += vcs-svn/fast_export.h + VCSSVN_H += vcs-svn/svndiff.h + VCSSVN_H += vcs-svn/svndump.h + + $(VCSSVN_OBJS) $(VCSSVN_TEST_OBJS): $(LIB_H) $(VCSSVN_H) endif exec_cmd.s exec_cmd.o: EXTRA_CPPFLAGS = \ diff --cc vcs-svn/LICENSE index 533f585eb,805882c83..eb91858b8 --- a/vcs-svn/LICENSE +++ b/vcs-svn/LICENSE @@@ -1,6 -1,11 +1,8 @@@ Copyright (C) 2010 David Barr . All rights reserved. + Copyright (C) 2010 Jonathan Nieder . + -Copyright (C) 2008 Jason Evans . -All rights reserved. - Copyright (C) 2005 Stefan Hegny, hydrografix Consulting GmbH, Frankfurt/Main, Germany and others, see http://svn2cc.sarovar.org