- 18 Dec, 2014 3 commits
-
-
Edward Thomson committed
-
Carlos Martín Nieto committed
-
We need these directories to exist so cl_git_mkfile() can create the files we ask it to.
Carlos Martín Nieto committed
-
- 17 Dec, 2014 1 commit
-
-
Path validation may be influenced by `core.protectHFS` and `core.protectNTFS` configuration settings, thus treebuilders can take a repository to influence their configuration.
Edward Thomson committed
-
- 16 Dec, 2014 1 commit
-
-
Vicent Marti committed
-
- 05 Dec, 2014 1 commit
-
-
Will Stamper committed
-
- 27 Oct, 2014 1 commit
-
-
Edward Thomson committed
-
- 22 Oct, 2014 1 commit
-
-
The entry_count field is the amount of index entries covered by a particular cache entry, that is how many files are there (recursively) under a particular directory. The current code that attemps to do this is severely defincient and is trying to count the amount of children, which always comes up to zero. We don't even need to recount, since we have the information during the cache creation. We can take that number and keep it, as we only ever invalidate or replace.
Carlos Martín Nieto committed
-
- 10 Oct, 2014 3 commits
-
-
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 -
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
-
- 03 Aug, 2014 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 01 Jul, 2014 1 commit
-
-
Edward Thomson committed
-
- 03 Jun, 2014 1 commit
-
-
Carlos Martín Nieto committed
-
- 22 May, 2014 1 commit
-
-
Carlos Martín Nieto committed
-
- 19 May, 2014 1 commit
-
-
If you enabled core.safecrlf on an LF-ending platform, we would error even for files with all LFs. We should only be warning on irreversible mappings, I think.
Russell Belfer committed
-
- 17 Apr, 2014 1 commit
-
-
This is just laying some groundwork for internal index changes that I'm working on.
Russell Belfer committed
-
- 06 Mar, 2014 1 commit
-
-
Ben Straub committed
-
- 24 Feb, 2014 1 commit
-
-
Ben Straub committed
-
- 09 Feb, 2014 1 commit
-
-
Edward Thomson committed
-
- 04 Feb, 2014 2 commits
-
-
This fixes a typo I made for setting the sorted flag on the index after a reload. That typo didn't actually cause any test failures so I'm also adding a test that explicitly checks that the index is correctly sorted after a reload when ignoring case and when not.
Russell Belfer committed -
This updates the git_pqueue to simply be a set of specialized init/insert/pop functions on a git_vector. To preserve the pqueue feature of having a fixed size heap, I converted the "sorted" field in git_vectors to a more general "flags" field so that pqueue could mix in it's own flag. This had a bunch of ramifications because a number of places were directly looking at the vector "sorted" field - I added a couple new git_vector helpers (is_sorted, set_sorted) so the specific representation of this information could be abstracted.
Russell Belfer committed
-
- 03 Feb, 2014 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 29 Jan, 2014 2 commits
-
-
Edward Thomson committed
-
Russell Belfer committed
-
- 25 Jan, 2014 1 commit
-
-
This was not converted when we converted the rest, so do it now.
Carlos Martín Nieto committed
-
- 11 Dec, 2013 1 commit
-
-
This time actually checking return values in diff notify tests and actually testing callbacks for the index all-all/update-all/etc functions.
Russell Belfer committed
-
- 19 Nov, 2013 2 commits
- 14 Nov, 2013 1 commit
-
-
Ben Straub committed
-