- 10 Oct, 2014 24 commits
-
-
Fill the tree cache when reading in a tree into an index
Edward Thomson committed -
Carlos Martín Nieto committed
-
An obvious place to fill the tree cache is on write-tree, as we're guaranteed to be able to fill in the whole tree cache. The way this commit does this is not the most efficient, as we read the root tree from the odb instead of filling in the cache as we go along, but it fills the cache such that successive operations (and persisting the index to disk) will be able to take advantage of the cache, and it reuses the code we already have for filling the cache. Filling in the cache as we create the trees would require some reallocation of the children vector, which is currently not possible with out pool implementation. A different data structure would likely allow us to perform this operation at a later date.
Carlos Martín Nieto committed -
If e.g. the root tree is invalidated, we still want to write out its children, since those may still have valid cache entries.
Carlos Martín Nieto committed -
Keeping the cache around after read-tree is only one part of the optimisation opportunities. In order to share the cache between program instances, we need to write the TREE extension to the index. Do so, taking the opportunity to rename 'entries' to 'entry_count' to match the name given in the format description. The included test is rather trivial, but works as a sanity check.
Carlos Martín Nieto committed -
This wasn't used. We invalidate based on the full path, so we always go down the tree, never up.
Carlos Martín Nieto committed -
These test that we invalidate at the right levels and that we remove the tree cache when clearing the index.
Carlos Martín Nieto committed -
When reading from a tree, we know what every tree is going to look like, so we can fill in the tree cache completely, making use of the index for modification of trees a lot quicker.
Carlos Martín Nieto committed -
This simplifies freeing the entries quite a bit; though there aren't that many failure paths right now, introducing filling the cache from a tree will introduce more. This makes sure not to leak memory on errors.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
remote: accept a repository and remote name for deletion
Edward Thomson committed -
[factor] Join typedef and struct definitions in single file.
Carlos Martín Nieto committed -
Some PRs have fallen out of sync with the changes in signatures, so we need to take a few extra parameters into account.
Carlos Martín Nieto committed -
Can read large file larger than 2GB on Win64
Carlos Martín Nieto committed -
Fix warnings in thread-utils.h when building without -DTHREADSAFE=ON
Carlos Martín Nieto committed -
Do not error out when fetching from second remote
Carlos Martín Nieto committed -
Provide option to embed libssh2
Carlos Martín Nieto committed -
Add support for setting the SSL CA location
Carlos Martín Nieto committed -
Allow to propagate checkout callbacks to git HARD reset
Carlos Martín Nieto committed -
Provide host name to certificate_check_cb
Edward Thomson committed -
New test files for the javascript diff driver.
Edward Thomson committed -
Walk only as far as the common ancestors of uninteresting commits
Edward Thomson committed -
Treat an empty list of refspecs the same as a NULL value.
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
- 09 Oct, 2014 16 commits
-
-
Implement git-describe
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
Arthur Schreiber committed
-
Edward Thomson committed
-
Anurag Gupta (OSG) committed
-
config: Handle multiple spaces that follow a configuration value and precede a comment char
Edward Thomson committed -
Fix README.md
Edward Thomson committed -
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Trivial fixups
Edward Thomson committed -
Carlos Martín Nieto committed
-
Introduce reference transactions
Edward Thomson committed -
Implement opportunistic ref updates
Edward Thomson committed -
This leaves space for future expansion to locking other resources without having to change the API for references.
Carlos Martín Nieto committed -
Add `git_merge_bases_many`
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
Arthur Schreiber committed
-