- 15 Aug, 2013 1 commit
-
-
This is in preparation for moving the hashing to the frontend, which requires us to handle the incoming data before passing it to the backend's stream.
Carlos Martín Nieto committed
-
- 14 Jul, 2013 5 commits
-
-
crazymaster committed
-
crazymaster committed
-
This reverts commit a91e4d6b.
crazymaster committed -
crazymaster committed
-
crazymaster committed
-
- 29 May, 2013 1 commit
-
-
Russell Belfer committed
-
- 23 May, 2013 1 commit
-
-
Axel Wagner committed
-
- 22 May, 2013 1 commit
-
-
This flips rename detection around so instead of creating a forward mapping from deltas to possible rename targets, instead it creates a reverse mapping, looking at possible targets and trying to find a source that they could have been renamed or copied from. This is important because each output can only have a single source, but a given source could map to multiple outputs (in the form of COPIED records). Additionally, this makes a couple of tweaks to the public rename detection APIs, mostly renaming a couple of options that control the behavior to make more sense and to be more like core Git. I walked through the tests looking at the exact results and updated the expectations based on what I saw. The new code is different from the old because it cannot give some nonsense results (like A was renamed to both B and C) which were part of the outputs previously.
Russell Belfer committed
-
- 21 May, 2013 1 commit
-
-
nulltoken committed
-
- 17 May, 2013 1 commit
-
-
I frequently want to the the first N digits of an OID formatted as a string and I'd like it to be efficient. This function makes that easy and I could rewrite the OID formatters in terms of it.
Russell Belfer committed
-
- 07 May, 2013 1 commit
-
-
Russell Belfer committed
-
- 04 May, 2013 1 commit
-
-
Peeling to an invalid type is now checked via an assert so this test is no longer relevant.
Russell Belfer committed
-
- 02 May, 2013 1 commit
-
-
We need to hammer the packfile open phase harder in the thread tests, in addition to the cache API.
Russell Belfer committed
-
- 22 Apr, 2013 5 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
The indexer was creating a packfile object separately from the code in pack.c which was a problem since I put a call to git_mutex_init into just pack.c. This commit updates the pack function for creating a new pack object (i.e. git_packfile_check()) so that it can be used in both places and then makes indexer.c use the shared initialization routine. There are also a few minor formatting and warning message fixes.
Russell Belfer committed -
This adds some basic tests for the oidmap just to make sure that collisions, etc. are dealt with correctly. This also adds some tests for the new caching that check if items are inserted (or not inserted) properly into the cache, and that the cache can hold up in a multithreaded environment without error.
Russell Belfer committed -
Vicent Marti committed
-
- 21 Apr, 2013 1 commit
-
-
This moves some of the odb_backend stuff that is related to the internals of an odb_backend implementation into include/git2/sys. Some of the stuff related to streaming I left in include/git2 because it seemed like it would be reasonably needed by a normal user who wanted to stream objects into and out of the ODB. Also, I added APIs for traversing the list of backends so that some of the tests would not need to access ODB internals.
Russell Belfer committed
-
- 31 Mar, 2013 2 commits
- 25 Mar, 2013 1 commit
-
-
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.
Russell Belfer committed
-
- 07 Mar, 2013 1 commit
-
-
Edward Thomson committed
-
- 26 Feb, 2013 1 commit
-
-
This reverts commit efe7fad6, except for the indentation fixes.
Michael Schubert committed
-
- 25 Feb, 2013 1 commit
-
-
Along with that, fix indentation in tests-clar/object/raw/hash.c
Michael Schubert committed
-
- 20 Feb, 2013 1 commit
-
-
The recent changes with git_treebuilder_entrycount point out that the test coverage for git_treebuilder_remove and git_treebuilder_entrycount is completely absent. This adds tests.
Russell Belfer committed
-
- 23 Jan, 2013 1 commit
-
-
as per @vmg's request
Scott J. Goldman committed
-
- 22 Jan, 2013 1 commit
-
-
Also ammends one of the tag tests to make sure it's working.
Scott J. Goldman committed
-
- 12 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 04 Jan, 2013 1 commit
-
-
Previously a NULL oid was handled like an empty buffer and returned a status empty string. This makes git_oid_tostr() set the output buffer to the empty string instead.
Russell Belfer committed
-
- 14 Dec, 2012 1 commit
-
-
Vicent Marti committed
-
- 10 Dec, 2012 1 commit
-
-
Ben Straub committed
-
- 07 Dec, 2012 1 commit
-
-
There are many different broken filemodes in the wild so we need to protect against them and give something useful up the chain. Don't fail when reading a tree from the ODB but normalize the mode as best we can. As 664 is no longer a mode that we consider to be valid and gets normalized to 644, we can stop accepting it in the treebuilder. The library won't expose it to the user, so any invalid modes are a bug.
Carlos Martín Nieto committed
-
- 01 Dec, 2012 2 commits
- 29 Nov, 2012 1 commit
-
-
Philip Kelley committed
-
- 28 Nov, 2012 2 commits
-
-
There are many scattered functions that look into the contents of buffers to do various text manipulations (such as escaping or unescaping data, calculating text stats, guessing if content is binary, etc). This groups all those functions together into a new file and converts the code to use that. This has two enhancements to existing functionality. The old text stats function is significantly rewritten and the BOM detection code was extended (although largely we can't deal with anything other than a UTF8 BOM).
Russell Belfer committed -
Philip Kelley committed
-
- 27 Nov, 2012 1 commit
-
-
Russell Belfer committed
-