Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix some memleaksmerge | Edward Thomson | 2012-12-12 | 1 | -10/+16 |
| | |||||
* | create dirs on writing conflicting files | Edward Thomson | 2012-12-11 | 1 | -16/+34 |
| | |||||
* | updated to latest | Edward Thomson | 2012-12-11 | 4 | -30/+33 |
| | |||||
* | df conflicts | Edward Thomson | 2012-12-11 | 2 | -82/+221 |
| | |||||
* | merge refactor goodness | Edward Thomson | 2012-12-11 | 3 | -267/+440 |
| | |||||
* | write side files | Edward Thomson | 2012-12-11 | 3 | -44/+148 |
| | |||||
* | set up merge filenames | Edward Thomson | 2012-12-11 | 1 | -26/+120 |
| | |||||
* | refactor | Edward Thomson | 2012-12-11 | 4 | -359/+362 |
| | |||||
* | rebased old merge | Edward Thomson | 2012-12-11 | 4 | -36/+1082 |
| | |||||
* | treediff | Edward Thomson | 2012-12-11 | 2 | -0/+308 |
| | |||||
* | Fix iterator reset and add reset ranges | Russell Belfer | 2012-12-10 | 7 | -113/+221 |
| | | | | | | | The `git_iterator_reset` command has not been working in all cases particularly when there is a start and end range. This fixes it and adds tests for it, and also extends it with the ability to update the start/end range strings when an iterator is reset. | ||||
* | Clean up iterator APIs | Russell Belfer | 2012-12-10 | 9 | -33/+48 |
| | | | | | | | | This removes the need to explicitly pass the repo into iterators where the repo is implied by the other parameters. This moves the repo to be owned by the parent struct. Also, this has some iterator related updates to the internal diff API to lay the groundwork for checkout improvements. | ||||
* | Add git_cred_acquire_cb payload to winhttp transport | Ben Straub | 2012-12-10 | 1 | -1/+1 |
| | |||||
* | Add a payload param to git_cred_acquire_cb | Ben Straub | 2012-12-10 | 7 | -6/+15 |
| | | | Fixes #1128. | ||||
* | Merge pull request #1126 from carlosmn/indexer-buffer | Vicent Martí | 2012-12-10 | 1 | -10/+9 |
|\ | | | | | indexer: move the temporary buffers into the indexer object | ||||
| * | indexer: move the temporary buffers into the indexer object | Carlos Martín Nieto | 2012-12-07 | 1 | -10/+9 |
| | | | | | | | | | | | | 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. | ||||
* | | orite C89 | Justin Spahr-Summers | 2012-12-09 | 1 | -2/+2 |
| | | |||||
* | | Treat git_mutex_lock as successful when threads are disabled | Justin Spahr-Summers | 2012-12-09 | 1 | -1/+1 |
| | | |||||
* | | Always check the result of git_mutex_lock | Justin Spahr-Summers | 2012-12-09 | 3 | -14/+51 |
| | | |||||
* | | git__mwindow_mutex needs to be initialized even with pthreads | Justin Spahr-Summers | 2012-12-09 | 1 | -0/+2 |
|/ | | | | This could also use PTHREAD_MUTEX_INITIALIZER, but a dynamic initializer seems like a more portable concept, and we won't need another #define on top of git_mutex_init() | ||||
* | Merge pull request #1091 from carlosmn/stream-object | Vicent Martí | 2012-12-07 | 5 | -59/+282 |
|\ | | | | | Indexer speedup with large objects | ||||
| * | indexer: correctly deal with objects larger than the window size | Carlos Martín Nieto | 2012-11-30 | 1 | -19/+26 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | indexer: make use of streaming also for deltas | Carlos Martín Nieto | 2012-11-30 | 1 | -49/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | indexer: use the packfile streaming API | Carlos Martín Nieto | 2012-11-30 | 3 | -30/+137 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | pack: introduce a streaming API for raw objects | Carlos Martín Nieto | 2012-11-30 | 2 | -0/+80 |
| | | | | | | | | | | This allows us to take objects from the packfile as a stream instead of having to keep it all in memory. | ||||
* | | tree: relax the filemode parser | Carlos Martín Nieto | 2012-12-07 | 1 | -19/+26 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix diff header comments and missing const | Russell Belfer | 2012-12-05 | 1 | -1/+1 |
| | | | | | | | | | | | | Based on the recent work to wrap diff in objective-git, this includes a fix for a missing const and a number of clarifications of the documentation. | ||||
* | | versions: MSVC build fixes | Vicent Marti | 2012-12-05 | 1 | -5/+5 |
| | | |||||
* | | common: Silly vmg. | Vicent Marti | 2012-12-05 | 1 | -1/+2 |
| | | |||||
* | | common: Silly MSVC | Vicent Marti | 2012-12-05 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #1115 from ben/struct-versions | Vicent Martí | 2012-12-05 | 21 | -36/+79 |
|\ \ | | | | | | | Version info for public structs | ||||
| * | | Don't unconstify when casting | Ben Straub | 2012-12-03 | 1 | -1/+1 |
| | | | |||||
| * | | Remove GIT_SIGNATURE_VERSION and friends | Ben Straub | 2012-12-03 | 6 | -18/+1 |
| | | | |||||
| * | | Deploy GIT_INIT_STRUCTURE | Ben Straub | 2012-11-30 | 2 | -3/+11 |
| | | | |||||
| * | | Deploy GITERR_CHECK_VERSION | Ben Straub | 2012-11-30 | 17 | -161/+38 |
| | | | |||||
| * | | Deploy GIT_SIGNATURE_INIT | Ben Straub | 2012-11-30 | 7 | -1/+38 |
| | | | |||||
| * | | Deploy versioned git_transport structure | Ben Straub | 2012-11-30 | 3 | -3/+18 |
| | | | |||||
| * | | Deploy GIT_STATUS_OPTIONS_INIT | Ben Straub | 2012-11-30 | 2 | -8/+19 |
| | | | |||||
| * | | Deploy GIT_REPOSITORY_INIT_OPTIONS_INIT | Ben Straub | 2012-11-30 | 2 | -4/+17 |
| | | | |||||
| * | | Deploy GIT_REMOTE_CALLBACKS_INIT | Ben Straub | 2012-11-30 | 1 | -1/+18 |
| | | | |||||
| * | | Deploy versioned git_odb_backend structure | Ben Straub | 2012-11-30 | 3 | -0/+18 |
| | | | |||||
| * | | Deploy GIT_DIFF_FIND_OPTIONS_INIT | Ben Straub | 2012-11-30 | 1 | -1/+17 |
| | | | |||||
| * | | Deploy GIT_DIFF_OPTIONS_INIT | Ben Straub | 2012-11-30 | 7 | -10/+26 |
| | | | |||||
| * | | Deploy git_config_backend version | Ben Straub | 2012-11-30 | 2 | -2/+17 |
| | | | |||||
| * | | Deploy GIT_CHECKOUT_OPTS_INIT | Ben Straub | 2012-11-30 | 3 | -6/+23 |
| |/ | |||||
* | | indentation fix | Edward Thomson | 2012-12-04 | 1 | -3/+3 |
| | | |||||
* | | hey don't stomp on my memory! | Edward Thomson | 2012-12-04 | 1 | -3/+7 |
| | | |||||
* | | status should ignore conflicts entries in the index | Edward Thomson | 2012-12-03 | 1 | -10/+30 |
| | | |||||
* | | Merge pull request #1112 from barrbrain/odb-pack-read-header | Vicent Martí | 2012-12-03 | 5 | -10/+95 |
|\ \ | | | | | | | odb-pack: resurrect pack_backend__read_header | ||||
| * | | odb-pack: resurrect pack_backend__read_header | David Michael Barr | 2012-12-03 | 1 | -10/+9 |
| | | |