- 12 Jan, 2016 1 commit
-
-
Add a new build flag to disable the pool allocator and pass all git_pool_malloc calls straight to git__malloc
Ross Delinger committed
-
- 29 Dec, 2015 1 commit
-
-
ssh_stream_read(): fix possible *bytes_read < 0 branch
Carlos Martín Nieto committed
-
- 28 Dec, 2015 3 commits
-
-
index: get rid of the locking
Carlos Martín Nieto committed -
We don't support using an index object from multiple threads at the same time, so the locking doesn't have any effect when following the rules. If not following the rules, things are going to break down anyway.
Carlos Martín Nieto committed -
Handle dotfiles as the repo template dir and inside the template dir
Carlos Martín Nieto committed
-
- 27 Dec, 2015 4 commits
-
-
Include dotfiles when copying template directory, which will handle both a template directory itself that begins with a dotfile, and any dotfiles inside the directory.
Edward Thomson committed -
Ensure that we can handle template directories that begin with a leading dot.
Edward Thomson committed -
Ensure that `git_repository_init` honors the `init.templatedir` configuration setting.
Edward Thomson committed -
Update README URLs based on HTTP redirects
Edward Thomson committed
-
- 26 Dec, 2015 3 commits
-
-
ReadmeCritic committed
-
Fix a couple function signatures
Edward Thomson committed -
Fix the possibility of returning successfully from ssh_stream_read() with *bytes_read < 0. This would occur if stdout channel read resulted in 0, and stderr channel read failed afterwards.
Michał Górny committed
-
- 24 Dec, 2015 2 commits
-
-
Fixed minor typo in README.md.
Edward Thomson committed -
drusk committed
-
- 21 Dec, 2015 2 commits
-
-
typos in comments
Carlos Martín Nieto committed -
Dmitriy Olshevskiy committed
-
- 17 Dec, 2015 4 commits
-
-
ReadmeCritic committed
-
commit: Fix memory leak in test suite
Vicent Marti committed -
Vicent Marti committed
-
Index fill: Small fixups
Vicent Marti committed
-
- 16 Dec, 2015 6 commits
-
-
fix git_blob_create_fromchunks documentation
Carlos Martín Nieto committed -
Note that we're not checking whether the resize succeeds; in OOM cases, we let it run with a "small" vector and hash table and see if by chance we can grow it dynamically as we insert the new entries. Nothing to lose really.
Vicent Marti committed -
Vicent Marti committed
-
Vicent Marti committed
-
merge: Use `git_index__fill` to populate the index
Carlos Martín Nieto committed -
Instead of calling `git_index_add` in a loop, use the new `git_index_fill` internal API to fill the index with the initial staged entries. The new `fill` helper assumes that all the entries will be unique and valid, so it can append them at the end of the entries vector and only sort it once at the end. It performs no validation checks. This prevents the quadratic behavior caused by having to sort the entries list once after every insertion.
Vicent Marti committed
-
- 15 Dec, 2015 2 commits
-
-
putting `0.` at the start of the line turns it into a numbered list.
tepas committed -
Thomas Edvalson committed
-
- 14 Dec, 2015 2 commits
-
-
Treat GIT_PASSTHROUGH as though git_cred_acquire_cb isn't set.
Edward Thomson committed -
Line count overflow in git_blame_hunk and git_blame__entry
Edward Thomson committed
-
- 10 Dec, 2015 2 commits
-
-
diff: include commit message when formatting patch
Carlos Martín Nieto committed -
index: always queue `remove_entry` for removal
Carlos Martín Nieto committed
-
- 09 Dec, 2015 3 commits
-
-
reset: perform the checkout before moving HEAD or the index
Carlos Martín Nieto committed -
This keeps the state of the workdir the same as one from HEAD, removing a source of possible confusion when calculating the work that is to be done.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 08 Dec, 2015 5 commits
-
-
Use a typedef for the submodule_foreach callback.
Carlos Martín Nieto committed -
tree: mark a tree as already sorted
Edward Thomson committed -
joshaber committed
-
This fits with the style for the rest of the project, but more importantly, makes life easier for bindings authors who auto-generate code.
joshaber committed -
When replacing an index with a new one, we need to iterate through all index entries in order to determine which entries are equal. When it is not possible to re-use old entries for the new index, we move it into a list of entries that are to be removed and thus free'd. When we encounter a non-zero error code, though, we skip adding the current index entry to the remove-queue. `INSERT_MAP_EX`, which is the function last run before adding to the remove-queue, may return a positive non-zero code that indicates what exactly happened while inserting the element. In this case we skip adding the entry to the remove-queue but still continue the current operation, leading to a leak of the current entry. Fix this by checking for a negative return value instead of a non-zero one when we want to add the current index entry to the remove-queue.
Patrick Steinhardt committed
-