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
2015-07-28Better param docsBen Chatelain
2015-07-28error: store the error messages in a reusable bufferCarlos Martín Nieto
Instead of allocating a brand new buffer for each error string we want to store, we can use a per-thread buffer to store the error string and re-use the underlying storage. We already use the buffer to format the string, so this mostly makes that more direct.
2015-07-28Fix remaining documentation warningsBen Chatelain
2015-07-28Add -Wdocumentation flag if supportedBen Chatelain
2015-07-28Use correct Doxygen trailing comment syntaxBen Chatelain
2015-07-27Fix @param names in doc commentsBen Chatelain
2015-07-27iterator: adjust unreadable-dir test to new behaviourCarlos Martín Nieto
We don't want the iterator to make us stop whenever we hit an unreadable dir. We should instead move over to the next item.
2015-07-26iterator: skip over errors in diriter initCarlos Martín Nieto
An error here will typically mean that the directory was removed between the time we iterated the parent and the time we wanted to visit it in which case we should ignore it. Other kinds of errors such as permissions (or transient errors) also better dealt with by pretending we didn't see it.
2015-07-25filebuf: remove lockfile upon rename errorsCarlos Martín Nieto
When we have an error renaming the lockfile, we need to make sure that we remove it upon cleanup. For this, we need to keep track of whether we opened the file and whether the rename succeeded. If we did create the lockfile but the rename did not succeed, we remove the lockfile. This won't protect against all errors, but the most common ones (target file is open) does get handled.
2015-07-24filebuf: failing test for leaving the lockfile when failing to renameCarlos Martín Nieto
When we fail to rename, we currently leave the lockfile laying around. This shows that behaviour.
2015-07-24Merge pull request #3307 from libgit2/cmn/submodule-backslashEdward Thomson
Normalize submodule urls before looking at them
2015-07-24Merge pull request #3303 from libgit2/cmn/index-add-submoduleEdward Thomson
Allow adding a submodule through git_index_add_bypath
2015-07-24Merge pull request #3305 from libgit2/cmn/reflog-del-backendEdward Thomson
refdb: delete a ref's reflog upon deletion
2015-07-24Merge pull request #3304 from libgit2/cmn/checkout-free-streamEdward Thomson
filter: make sure to close the stream even on error
2015-07-23Merge pull request #3317 from csware/fix-vistaEdward Thomson
Make libgit2 work on Windows Vista again
2015-07-22Merge pull request #3322 from libgit2/fix-init-orderingJosh Abernathy
Increment `git__n_inits` before doing `init_once`.
2015-07-22Merge branch 'master' into fix-init-orderingjoshaber
2015-07-22Increment `git__n_inits` before doing `init_once`.joshaber
Fixes #3318.
2015-07-22Make libgit2 work on Windows Vista againSven Strickroth
(fixes issue #3316) Signed-off-by: Sven Strickroth <email@cs-ware.de>
2015-07-20Merge pull request #3315 from rcorre/docfixCarlos Martín Nieto
Document git_fetch_options struct and fix typo.
2015-07-20Document git_fetch_options struct and fix typo.Ryan Roden-Corrent
git_fetch_options was missing from the API docs because it lacked a documentation comment above the struct declaration. I used the git_checkout_options docstring as a template. Also fixes a typo in git_remote_prune_refs (remote, not reamote).
2015-07-15Merge pull request #3311 from Fallso/MacroRedefinitionEdward Thomson
Fix macro redefinition warning
2015-07-15Fix macro redefinition warningFallso
2015-07-13Merge pull request #3302 from libgit2/cmn/submodule-foreach-diff-pathCarlos Martín Nieto
List a submodule only once when the path matches a submodule in the index
2015-07-13submodule, path: extract slash conversionCarlos Martín Nieto
Extract the backslash-to-slash conversion into a helper function.
2015-07-13Merge pull request #3306 from libgit2/cmn/fetch-ex-fetchCarlos Martín Nieto
examples: modernise the fetch example
2015-07-13submodule: normalize slashes in resolve_urlCarlos Martín Nieto
Our path functions expect to work with slashes, so convert a path with backslashes into one with slashes at the top of the function.
2015-07-13submodule: add failing test for backslash in urlCarlos Martín Nieto
2015-07-12Merge branch 'portable-zu'Carlos Martín Nieto
2015-07-12Fix #3094 - improve use of portable size_t/ssize_t format specifiers.Matthew Plough
The header src/cc-compat.h defines portable format specifiers PRIuZ, PRIdZ, and PRIxZ. The original report highlighted the need to use these specifiers in examples/network/fetch.c. For this commit, I checked all C source and header files not in deps/ and transitioned to the appropriate format specifier where appropriate.
2015-07-12examples: modernise the fetch exampleCarlos Martín Nieto
Under normal conditions, git_remote_fetch() should be the only function used to perform a fetch. Don't let the example lead people astray.
2015-07-12refdb: delete a ref's reflog upon deletionCarlos Martín Nieto
Removing a reflog upon ref deletion is something which only some backends might wish to do. Backends which are database-backed may wish to archive a reflog, log-based ones may not need to do anything.
2015-07-12filter: make sure to close the stream even on errorCarlos Martín Nieto
When the stream list init or write fail, we must also make sure to close the stream, as that's the function contract.
2015-07-12index: allow add_bypath to update submodulesCarlos Martín Nieto
Similarly to how git itself does it, allow the index update operation to stage a change in a submodule's HEAD.
2015-07-12blob: fail to create a blob from a dir with EDIRECTORYCarlos Martín Nieto
This also affects `git_index_add_bypath()` by providing a better error message and a specific error code when a directory is passed.
2015-07-12errors: add EDIRECTORYCarlos Martín Nieto
This is to be returned when the operation which the user asked for is not possible to do on a directory.
2015-07-12Merge pull request #3292 from tkelman/patch-1Edward Thomson
Increase required version of cmake to 2.8
2015-07-11submodule: lookup the submodule by path if availableCarlos Martín Nieto
If we get the path from the gitmodules file, look up the submodule we're interested in by path, rather then by name. Otherwise we might get duplicate results.
2015-07-11submdule: reproduce double-reporting of a submodule in foreachCarlos Martín Nieto
When we rename a submodule, we should be merging two sets of information based on whether their path is the same. We currently only deduplicate on equal name, which causes us to double-report.
2015-07-10Increase required version of cmake to 2.8Tony Kelman
2015-07-10Merge pull request #3301 from ethomson/warningsCarlos Martín Nieto
Clean up some warnings
2015-07-10Merge pull request #3297 from tkelman/patch-2Carlos Martín Nieto
Fix undefined reference with old versions of openssl
2015-07-10Merge pull request #3272 from ethomson/certCarlos Martín Nieto
git_cert: child types use proper base type
2015-07-10khash: add eol so picky compilers stop warningEdward Thomson
2015-07-10wildcard filters: move CHANGELOG message to 0.23+1Edward Thomson
2015-07-10wildcard filters: clean up some warnings in testsEdward Thomson
2015-07-10xdiff: cleanup some warningsEdward Thomson
2015-07-10git_cert: child types use proper base typeEdward Thomson
2015-07-09Merge pull request #3281 from ethomson/wildcard_filtersCarlos Martín Nieto
filters: custom filters with wildcard attributes
2015-07-08Merge pull request #3299 from ethomson/xdiff_updateCarlos Martín Nieto
Don't add unnecessary trailing newline during file merge