Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-25buffer: make use of EINVALID for growing a borrowed bufferCarlos Martín Nieto
This explains more closely what happens. While here, set an error message.
2015-06-25buffer: don't allow growing borrowed buffersCarlos Martín Nieto
When we don't own a buffer (asize=0) we currently allow the usage of grow to copy the memory into a buffer we do own. This muddles the meaning of grow, and lets us be a bit cavalier with ownership semantics. Don't allow this any more. Usage of grow should be restricted to buffers which we know own their own memory. If unsure, we must not attempt to modify it.
2015-06-22git_buf_text_lf_to_crlf: allow mixed line endingsEdward Thomson
Allow files to have mixed line endings instead of skipping processing on them.
2015-01-21Make binary detection work similar to vanilla gitSven Strickroth
Main change: Don't treat chars > 128 as non-printable (common in UTF-8 files) Signed-off-by: Sven Strickroth <email@cs-ware.de>
2014-11-21buffer: Do not `put` anything if len is 0Vicent Marti
2014-10-01hashsig: Export as a `sys` headerVicent Marti
2014-08-15Introduce git_buf_decode_base64Edward Thomson
Decode base64-encoded text into a git_buf
2014-06-24crlf: pass-through mixed EOL buffers from LF->CRLFCarlos Martín Nieto
When checking out files, we're performing conversion into the user's native line endings, but we only want to do it for files which have consistent line endings. Refuse to perform the conversion for mixed-EOL files. The CRLF->LF filter is left as-is, as that conversion is considered to be normalization by git and should force a conversion of the line endings.
2014-04-23patch: emit binary patches (optionally)Edward Thomson
2014-04-01Add efficient git_buf join3 APIRussell Belfer
There are a few places where we need to join three strings to assemble a path. This adds a simple join3 function to avoid the comparatively expensive join_n (which calls strlen on each string twice).
2014-01-20add unit tests for git_buf_join corner casesPatrick Reynolds
2013-11-15Rename tests-clar to testsBen Straub