libgit2/tests-clar/object
Russell Belfer 3658e81e34 Move crlf conversion into buf_text
This adds crlf/lf conversion functions into buf_text with more
efficient implementations that bypass the high level buffer
functions.  They attempt to minimize the number of reallocations
done and they directly write the buffer data as needed if they
know that there is enough memory allocated to memcpy data.

Tests are added for these new functions.  The crlf.c code is
updated to use the new functions.

Removed the include of buf_text.h from filter.h and just include
it more narrowly in the places that need it.
2013-03-25 14:20:07 -07:00
..
blob Move crlf conversion into buf_text 2013-03-25 14:20:07 -07:00
commit add an index_remove_bypath that removes conflicts, renamed add_from_workdir to match 2013-01-12 13:47:56 -06:00
raw Revert "hash: remove git_hash_init from internal api" 2013-02-26 01:08:34 +01:00
tag immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
tree Add more treebuilder tests 2013-02-20 11:58:21 -08:00
lookup.c Remove git_object_oid2type 2012-11-29 08:22:15 -05:00
message.c message: reorganize tests 2012-10-26 21:01:58 +02:00
peel.c object: refine git_object_peel() error report 2012-12-01 08:34:29 +01:00