- 27 Feb, 2015 4 commits
-
-
Edward Thomson committed
-
When the repository does not contain an index, emulate git's behavior and upgrade to `SAFE_CREATE`. This allows us to check out repositories created with `git clone --no-checkout`.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 20 Feb, 2015 3 commits
-
-
Fix MAX 32 bit build problem described in libgit2/libgit2#2917
Carlos Martín Nieto committed -
Jeff Hostetler committed
-
Fix race in git_packfile_unpack.
Carlos Martín Nieto committed
-
- 19 Feb, 2015 7 commits
-
-
Streaming filters
Carlos Martín Nieto committed -
Introduce GITTEST_INVASIVE_FS_STRUCTURE for things that are invasive to your filesystem structure (like creating folders at your filesystem root) and GITTEST_INVASIVE_FS_SIZE for things that write lots of data.
Edward Thomson committed -
Edward Thomson committed
-
Refactor `git_filter_list__load_with_attr_reader` into `git_filter_list__load_ext`, which takes a `git_filter_options`.
Edward Thomson committed -
For consistency with the rest of the library, where an opt is an options *structure*.
Edward Thomson committed -
Provide a convenience function that creates a buffer that can be provided to callers but will not be freed via `git_buf_free`, so the buffer creator maintains the allocation lifecycle of the buffer's contents.
Edward Thomson committed -
Fix Mac build without OpenSSL
Carlos Martín Nieto committed
-
- 18 Feb, 2015 3 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 17 Feb, 2015 6 commits
-
-
Test pushing a file on-disk into a streaming filter that compresses it into the ODB, and inflates it back into the working directory.
Edward Thomson committed -
Let the filters use the checkout data's temporary buffer, instead of having to allocate new buffers each time.
Edward Thomson committed -
Use the new streaming filter API during checkout.
Edward Thomson committed -
Migrate the `git_filter_list_apply_*` functions over to using the new filter streams.
Edward Thomson committed -
If OpenSSL is disabled on Mac the SHA1 implementation goes to the CommonCrypto from the system. In this case we should not include the generic hash impl. Otherwise there would be duplicated impls which fail the build.
Leo Yang committed -
Add structures and preliminary functions to take a buffer, file or blob and write the contents in chunks through an arbitrary number of chained filters, finally writing into a user-provided function accept the contents.
Edward Thomson committed
-
- 16 Feb, 2015 1 commit
-
-
Remove extra semicolon outside of a function
Carlos Martín Nieto committed
-
- 15 Feb, 2015 5 commits
-
-
Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function.
Stefan Widgren committed -
Increment refcount of newly added cache entries just like existing entries looked up from the cache. Otherwise the new entry can be evicted from the cache and destroyed while it's still in use.
Jason Haslam committed -
merge: lock index during the merge (not just checkout)
Carlos Martín Nieto committed -
allocations: test for overflow of requested size
Carlos Martín Nieto committed -
Fixups for rebase
Carlos Martín Nieto committed
-
- 14 Feb, 2015 5 commits
-
-
Provide git_indexwriter_init_for_operation for the common locking pattern in merge, rebase, revert and cherry-pick.
Edward Thomson committed -
Edward Thomson committed
-
Always lock the index when we begin the merge, before we write any of the metdata files. This prevents a race where another client may run a commit after we have written the MERGE_HEAD but before we have updated the index, which will produce a merge commit that is treesame to one parent. The merge will finish and update the index and the resultant commit would not be a merge at all.
Edward Thomson committed -
Edward Thomson committed
-
Introduce `git_indexwriter`, to allow us to lock the index while performing additional operations, then complete the write (or abort, unlocking the index).
Edward Thomson committed
-
- 13 Feb, 2015 6 commits
-
-
Correct the merge failed cleanup test. Merge data should not be cleaned up on conflicts, only on actual failure. And ORIG_HEAD should not be removed at all.
Edward Thomson committed -
Switch to a standard branch-switching pattern of a `SAFE` checkout, then updating `HEAD`.
Edward Thomson committed -
Don't require the branch to rebase, if given `NULL`, simply look up `HEAD`.
Edward Thomson committed -
Users may want to try to pay attention to the `exec` field on all rebase operations.
Edward Thomson committed -
win32: limit the mode to `_wopen`/`_waccess`
Carlos Martín Nieto committed -
Edward Thomson committed
-