- 05 Aug, 2015 1 commit
-
-
With Visual Studio versions 2008 and older they ignore the full path to files and only check the basename of the file to find a collision. Additionally, having duplicate basenames can break other build tools like GYP. This fixes https://github.com/libgit2/libgit2/issues/3356
John Haley committed
-
- 03 Aug, 2015 12 commits
-
-
Carlos Martín Nieto committed
-
A second round of 0.23 maint updates
Carlos Martín Nieto committed -
Edward Thomson committed
-
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.
Carlos Martín Nieto committed -
When we fail to rename, we currently leave the lockfile laying around. This shows that behaviour.
Carlos Martín Nieto committed -
Tony Kelman committed
-
For such a path '/~/...' the leading '/' is stripped so the server will get a path starting with '~' and correctly handle it.
Simon committed -
Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function.
Stefan Widgren committed -
Carlos Martín Nieto committed
-
Fixes issue #3338
Anders Borum committed -
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.
Carlos Martín Nieto committed -
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.
Carlos Martín Nieto committed
-
- 01 Aug, 2015 1 commit
-
-
Maintenance updates for v0.23
Carlos Martín Nieto committed
-
- 28 Jul, 2015 18 commits
-
-
(fixes issue #3316) Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
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).
Ryan Roden-Corrent committed -
Fallso committed
-
Our path functions expect to work with slashes, so convert a path with backslashes into one with slashes at the top of the function.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
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.
Matthew Plough committed -
When the stream list init or write fail, we must also make sure to close the stream, as that's the function contract.
Carlos Martín Nieto committed -
Similarly to how git itself does it, allow the index update operation to stage a change in a submodule's HEAD.
Carlos Martín Nieto committed -
This also affects `git_index_add_bypath()` by providing a better error message and a specific error code when a directory is passed.
Carlos Martín Nieto committed -
This is to be returned when the operation which the user asked for is not possible to do on a directory.
Carlos Martín Nieto committed -
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.
Carlos Martín Nieto committed -
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.
Carlos Martín Nieto committed -
Edward Thomson committed
-
Edward Thomson committed
-
Upgrade xdiff to version used in core git 2.4.5 (0df0541). Corrects an issue where an LF is added at EOF while applying an unrelated change (ba31180), cleans up some unused code (be89977 and e5b0662), and provides an improved callback to avoid leaking internal (to xdiff) structures (467d348). This also adds some additional functionality that we do not yet take advantage of, namely the ability to ignore changes whose lines are all blank (36617af).
Edward Thomson committed -
Edward Thomson committed
-
When invoked with three files that each lack a trailing newline, the merge result should also lack a trailing newline.
Edward Thomson committed -
Versions prior to 0.9.8f did not have this function, rhel/centos5 are still on a heavily backported version of 0.9.8e and theoretically supported until March 2017 Without this ifdef, I get the following link failure: ``` CMakeFiles/libgit2_clar.dir/src/openssl_stream.c.o: In function `openssl_connect': openssl_stream.c:(.text+0x45a): undefined reference to `SSL_set_tlsext_host_name' collect2: error: ld returned 1 exit status make[6]: *** [libgit2_clar] Error 1 ```
Tony Kelman committed
-
- 06 Jul, 2015 1 commit
-
-
Carlos Martín Nieto committed
-
- 03 Jul, 2015 2 commits
-
-
filter: add docs for streaming filters
Carlos Martín Nieto committed -
These functions are available on the public API but don't have any documentation, so they don't appear on the API reference. Fix that.
Carlos Martín Nieto committed
-
- 02 Jul, 2015 5 commits
-
-
iterator_walk: cast away constness for free
Carlos Martín Nieto committed -
filter::stream: free the filter sanely
Carlos Martín Nieto committed -
Edward Thomson committed
-
Don't use the filter's free callback to free the actual data structure holding the filter, as we may not always actually initialize it (the test may be skipped).
Edward Thomson committed -
Correctly delimit the keys for submodule lookup
Carlos Martín Nieto committed
-