Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-25Introduce git_blame_options diff find configurabilityxs-6.0-v1Ungureanu Marius
This introduces a git_diff_find_options structure into git_blame_options that can be used to filter out what kind of file diffing to take place. Added a new entry GIT_DIFF_FIND_NO_RENAMES which discards any attempt of the library to check for renames. The blobs added have the following steps: Commit 'F': e348f517983bc8789d089756f9f5cf6853cacaba Added c.txt and d.txt, files with 2 blocks of text. Commit 'G': dc0ba4369424dcb44b7132f1d53a268299bb0efa Renamed c.txt to c_exact.txt. Commit 'H': fa2ae14c806e4c7cbfee45d3896c6a96d3d23dc2 Renamed d.txt to d_similar.txt and modified a block of text.
2016-01-16Merge pull request #3573 from pmq20/master-12jan16Carlos Martín Nieto
Make packfile_unpack_compressed a private API
2016-01-13Merge pull request #3569 from arthurschreiber/arthur/fix-windows-issuesCarlos Martín Nieto
Fix some issues with generated pkg-config file
2016-01-13Make packfile_unpack_compressed a private APIP.S.V.R
2016-01-09Wrap path in quotes to support paths containing whitespace.Arthur Schreiber
2016-01-09Add winhttp dependencies to pc file.Arthur Schreiber
2015-12-29Merge pull request #3562 from mgorny/ssh-read-stderr-failCarlos Martín Nieto
ssh_stream_read(): fix possible *bytes_read < 0 branch
2015-12-28Merge pull request #3558 from libgit2/cmn/index-nolockCarlos Martín Nieto
index: get rid of the locking
2015-12-28index: get rid of the lockingCarlos Martín Nieto
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.
2015-12-28Merge pull request #3565 from ethomson/templatesCarlos Martín Nieto
Handle dotfiles as the repo template dir and inside the template dir
2015-12-27git_repository_init: include dotfiles when copying templatesEdward Thomson
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.
2015-12-27repo::init tests: test a template dir with leading dotEdward Thomson
Ensure that we can handle template directories that begin with a leading dot.
2015-12-27repo::init tests: test init.templatedir settingEdward Thomson
Ensure that `git_repository_init` honors the `init.templatedir` configuration setting.
2015-12-27Merge pull request #3552 from ReadmeCritic/masterEdward Thomson
Update README URLs based on HTTP redirects
2015-12-27Update libgit2-glib linkReadmeCritic
2015-12-27Merge pull request #3546 from Cruel/masterEdward Thomson
Fix a couple function signatures
2015-12-26ssh_stream_read(): fix possible *bytes_read < 0 branchMichał Górny
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.
2015-12-24Merge pull request #3560 from drusk/readme_typoEdward Thomson
Fixed minor typo in README.md.
2015-12-24Fixed minor typo in README.md.drusk
2015-12-22Merge pull request #3554 from olshevskiy87/masterCarlos Martín Nieto
typos in comments
2015-12-21typos in commentsDmitriy Olshevskiy
2015-12-17Update README URLs based on HTTP redirectsReadmeCritic
2015-12-17Merge pull request #3551 from libgit2/vmg/commit-leakVicent Marti
commit: Fix memory leak in test suite
2015-12-17commit: Fix memory leak in test suiteVicent Marti
2015-12-17Merge pull request #3550 from libgit2/vmg/index-fill-2Vicent Marti
Index fill: Small fixups
2015-12-16Merge pull request #3548 from tepas/patch-1Carlos Martín Nieto
fix git_blob_create_fromchunks documentation
2015-12-16index: Also size-hint the hash tableVicent Marti
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.
2015-12-16index: Preallocate the entries vector with size hintVicent Marti
2015-12-16index: Adjust namemask & mode when fillingVicent Marti
2015-12-16Merge pull request #3549 from libgit2/vmg/index-fillCarlos Martín Nieto
merge: Use `git_index__fill` to populate the index
2015-12-16merge: Use `git_index__fill` to populate the indexVicent Marti
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.
2015-12-16fix git_blob_create_fromchunks documentationtepas
putting `0.` at the start of the line turns it into a numbered list.
2015-12-15Fix a couple function signaturesThomas Edvalson
2015-12-14Merge pull request #3528 from chescock/Passthrough-from-credential-callbackEdward Thomson
Treat GIT_PASSTHROUGH as though git_cred_acquire_cb isn't set.
2015-12-14Merge pull request #3521 from pks-t/blame-line-overflowEdward Thomson
Line count overflow in git_blame_hunk and git_blame__entry
2015-12-10Merge pull request #3522 from pks-t/email-format-commit-messageCarlos Martín Nieto
diff: include commit message when formatting patch
2015-12-10Merge pull request #3538 from pks-t/pks/index-memory-leakCarlos Martín Nieto
index: always queue `remove_entry` for removal
2015-12-09Merge pull request #3542 from libgit2/cmn/reset-dir-fileCarlos Martín Nieto
reset: perform the checkout before moving HEAD or the index
2015-12-09reset: perform the checkout before moving HEAD or the indexCarlos Martín Nieto
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.
2015-12-09CHANGELOG: add some things we missedCarlos Martín Nieto
2015-12-08Merge pull request #3539 from libgit2/typedef-submodule-cbCarlos Martín Nieto
Use a typedef for the submodule_foreach callback.
2015-12-08Merge pull request #3537 from libgit2/cmn/tree-is-sortedEdward Thomson
tree: mark a tree as already sorted
2015-12-08Play nice with the docs.joshaber
2015-12-08Use a typedef for the submodule_foreach callback.joshaber
This fits with the style for the rest of the project, but more importantly, makes life easier for bindings authors who auto-generate code.
2015-12-08index: always queue `remove_entry` for removalPatrick Steinhardt
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.
2015-12-07tree: mark a tree as already sortedCarlos Martín Nieto
The trees are sorted on-disk, so we don't have to go over them again. This cuts almost a fifth of time spent parsing trees.
2015-12-06Merge pull request #3526 from sschuberth/cmake-number-compareCarlos Martín Nieto
CMakeLists: Compare CMAKE_SIZEOF_VOID_P as a number, not as a string
2015-12-06Merge pull request #3529 from mgorny/fix-checkout-test-umaskCarlos Martín Nieto
checkout test: Apply umask to file-mode test as well
2015-12-04Merge pull request #3530 from libgit2/cmn/parse-modeEdward Thomson
tree: use a specialised mode parse function
2015-12-04Merge pull request #3534 from ethomson/index_canonicalize_fixCarlos Martín Nieto
index: canonicalize inserted paths safely