git/vcs-svn
Jonathan Nieder e5e45ca1e3 vcs-svn: teach line_buffer to handle multiple input files
Collect the line_buffer state in a newly public line_buffer struct.
Callers can use multiple line_buffers to manage input from multiple
files at a time.

svn-fe's delta applier will use this to stream a delta from svnrdump
and the preimage it applies to from fast-import at the same time.

The tests don't take advantage of the new features, but I think that's
okay.  It is easier to find lingering examples of nonreentrant code by
searching for "static" in line_buffer.c.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2011-02-26 04:57:59 -06:00
..
fast_export.c vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
fast_export.h vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
LICENSE SVN dump parser 2010-08-14 19:35:38 -07:00
line_buffer.c vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
line_buffer.h vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
line_buffer.txt vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
obj_pool.h Add memory pool library 2010-08-14 19:35:37 -07:00
repo_tree.c vcs-svn: fix intermittent repo_tree corruption 2010-12-07 16:04:02 -08:00
repo_tree.h Infrastructure to write revisions in fast-export format 2010-08-14 19:35:37 -07:00
string_pool.c Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.h Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.txt Add string-specific memory pool 2010-08-14 19:35:37 -07:00
svndump.c vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
svndump.h SVN dump parser 2010-08-14 19:35:38 -07:00
trp.h treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00
trp.txt treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00