- 17 Mar, 2013 1 commit
-
-
Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0
Arkadiy Shapkin committed
-
- 03 Mar, 2013 2 commits
-
-
These offsets are needed for REF_DELTA objects, which encode which object they use as a base, but not where it lies in the packfile, so we need a list. These objects are mostly from older packfiles, before OFS_DELTA was widely spread. The time spent in indexing these packfiles is greatly reduced, though remains above what git is able to do.
Carlos Martín Nieto committed -
This was the first implementation and its goal was simply to have something that worked. It is slow and now it's just taking up space. Remove it and switch the one known usage to use the streaming indexer.
Carlos Martín Nieto committed
-
- 14 Feb, 2013 1 commit
-
-
Philip Kelley committed
-
- 05 Feb, 2013 2 commits
-
-
Ben Straub committed
-
This works by having the indexer watch the return code of the callback, so will only take effect on object boundaries.
Ben Straub committed
-
- 12 Jan, 2013 1 commit
-
-
The indexer needs to call the packfile's free function so it takes care of freeing the caches. We still need to close the mwf descriptor manually so we can rename the packfile into its final name on Windows.
Carlos Martín Nieto committed
-
- 11 Jan, 2013 3 commits
-
-
This reverts commit f289f886, which makes the tests fail on Windows. Revert until we can figure out a solution.
Carlos Martín Nieto committed -
nulltoken committed
-
It turns out the indexers have been ignoring the pack's free function and leaking data. Plug that.
Carlos Martín Nieto committed
-
- 08 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 17 Dec, 2012 1 commit
-
-
nulltoken committed
-
- 07 Dec, 2012 1 commit
-
-
Storing 4kB or 8kB in the stack is not very gentle. As this part has to be linear, put the buffer into the indexer object so we allocate it once in the heap.
Carlos Martín Nieto committed
-
- 30 Nov, 2012 3 commits
-
-
A mmap-window is not guaranteed to give you the whole object, but the indexer currently assumes so. Loop asking for more data until we've successfully CRC'd all of the packed data.
Carlos Martín Nieto committed -
Up to now, deltas needed to be enterily in the packfile, and we tried to decompress then in their entirety over and over again. Adjust the logic so we read them as they come, just as we do for full objects. This also allows us to simplify the logic and have less nested code. The delta resolving phase still needs to decompress the whole object into memory, as there is not yet any streaming delta-apply support, but it helps in speeding up the downloading process and reduces the amount of memory allocations we need to do.
Carlos Martín Nieto committed -
The new API allows us to read the object bit by bit from the packfile, instead of needing it all at once in the packfile. This also allows us to hash the object as it comes in from the network instead of having to try to read it all and failing repeatedly for larger objects. This is only the first step, but it already shows huge improvements when dealing with objects over a few megabytes in size. It reduces the memory needs in some cases, but delta objects still need to be completely in memory and the old inefficent method is still used for that.
Carlos Martín Nieto committed
-
- 27 Nov, 2012 1 commit
-
-
Ben Straub committed
-
- 23 Nov, 2012 1 commit
-
-
Remove words such as fuck, crap, shit etc. Remove other potentially offensive words from comments. Tidy up other geopolicital terms in comments.
Martin Woodward committed
-
- 18 Nov, 2012 1 commit
-
-
Sascha Cunz committed
-
- 13 Nov, 2012 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 29 Oct, 2012 1 commit
-
-
This memset was being reached after the entire packfile under WinHttp, so the byte count was being lost for small repos.
Ben Straub committed
-
- 24 Oct, 2012 1 commit
-
-
git_indexer_stats and friends -> git_transfer_progress* Also made git_transfer_progress members more sanely named.
Ben Straub committed
-
- 20 Oct, 2012 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 09 Oct, 2012 1 commit
-
-
Michael Schubert committed
-
- 25 Aug, 2012 2 commits
-
-
It's not really needed with the current code as we have EOS and the sideband's flush to tell us we're done. Keep the distinction between processed and received objects.
Carlos Martín Nieto committed -
Make sure that idx->pack isn't NULL before trying to free resources under it.
Carlos Martín Nieto committed
-
- 24 Aug, 2012 1 commit
-
-
We can't always rely on the network telling us when the download is finished. Recognize it from the indexer itself.
Carlos Martín Nieto committed
-
- 14 Jul, 2012 1 commit
-
-
Not all delta bases are available on the first try. By delaying resolving all deltas until the end, we avoid decompressing some of the data twice or even more times, saving effort and time.
Carlos Martín Nieto committed
-
- 28 Jun, 2012 2 commits
-
-
Once a file is registered, there is no way to deregister it, even after the structure that contains it is no longer needed and has been freed. This may be the source of #624. Allow and use the deregister function to remove our file from the global list.
Carlos Martin Nieto committed -
Not everyone who indexes a packfile wants to put it in the standard git repository location.
Carlos Martín Nieto committed
-
- 25 Jun, 2012 1 commit
-
-
Currently, the first call of git_indexer_stream_add adds the data to the underlying pack file and opens it for later use, but doesn't start parsing the already available data. This means, git_indexer_stream_finalize only works if git_indexer_stream_add was called at least twice. Kill this limitation by parsing available data immediately.
Michael Schubert committed
-
- 12 Jun, 2012 1 commit
-
-
On RAM: the .idx and .pack files become links to a .lock and the original download respectively. Assume some feature (such as record locking) supported by SFS but not JXFS or RAM: is required.
Chris Young committed
-
- 07 Jun, 2012 1 commit
-
-
Vicent Martí committed
-
- 19 May, 2012 1 commit
-
-
* indexer: remove leftover printf * commit: remove unused macros COMMIT_BASIC_PARSE, COMMIT_FULL_PARSE and COMMIT_PRINT
Michael Schubert committed
-
- 17 May, 2012 2 commits
-
-
Vicent Martí committed
-
Vicent Martí committed
-
- 15 May, 2012 2 commits
-
-
Error out in finalize if there is junk after the packfile hash or we couldn't process all the objects.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-