- 19 Apr, 2016 13 commits
-
-
Running clar directly on appveyor makes it think the command returned failure, so it stops the tests. Running it via ctest lets it go through.
Carlos Martín Nieto committed -
We leave this up to the scheme in the url field. The type should only tell us about whether we want a proxy and whether we want to auto-detect it.
Carlos Martín Nieto committed -
It takes a bit for the propxy to get ready to accept connections, so start it before the build so we can be reasonably sure that it's going to be ready in time.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
I don't quite recall what we do in the other places where we use this, but we should pass this payload to the callbacks.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
The path is not something that you use for proxies, so make use of the new optionality of the path when extracting URL parts.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
When we're dealing with proxy addresses, we only want a hostname and port, and the user would not provide a path, so make it optional so we can use this same function to parse git as well as proxy URLs.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
It is currently unused; it will go into the remote's options.
Carlos Martín Nieto committed
-
- 13 Apr, 2016 2 commits
-
-
Add missing ')' to callbacks documentation
Carlos Martín Nieto committed -
Super minor, but it was bugging me. There was a missing closing paren in the docs.
Josh Junon committed
-
- 11 Apr, 2016 7 commits
-
-
tests: skip the unreadable file tests as root
Carlos Martín Nieto committed -
When running as root, skip the unreadable file tests, because, well, they're probably _not_ unreadable to root unless you've got some crazy NSA clearance-level honoring operating system shit going on.
Edward Thomson committed -
refs: provide a more general error message for dwim
Edward Thomson committed -
Strict object creation in `refs::create`
Carlos Martín Nieto committed -
When we turned strict object creation validation on by default, we forgot to inform the refs::create tests of this. They, in fact, believed that strict object creation was off by default. As a result, their cleanup function went and turned strict object creation off for the remaining tests.
Edward Thomson committed -
This lets us run with strict object creation on.
Carlos Martín Nieto committed -
If we cannot dwim the input, set the error message to be explicit about that. Otherwise we leave the error for the last failed lookup, which can be rather unexpected as it mentions a remote when the user thought they were trying to look up a branch.
Carlos Martín Nieto committed
-
- 06 Apr, 2016 2 commits
-
-
tests: fix core/stream test when built with openssl off
Edward Thomson committed -
When passing -DUSE_OPENSSL:BOOL=OFF to cmake the testsuite will fail with the following error: core::stream::register_tls [/tmp/libgit2/tests/core/stream.c:40] Function call failed: (error) error -1 - <no message> Fix test to assume failure for tls when built without openssl. While at it also fix GIT_WIN32 cpp to check if it's defined or not.
Andreas Henriksson committed
-
- 05 Apr, 2016 2 commits
-
-
Remove Makefile.embed
Edward Thomson committed -
This has not been a supported build mode for quite some time, and it correspondingly hasn't worked to build the library for a long time. Get rid of it, as the only build mode we support is though CMakek.
Carlos Martín Nieto committed
-
- 03 Apr, 2016 1 commit
-
-
iterator/diff: allow trailing `/` on start/end paths to match submodules
Carlos Martín Nieto committed
-
- 02 Apr, 2016 4 commits
-
-
ignore: don't use realpath to canonicalize path
Edward Thomson committed -
Allow callers to specify a start path with a trailing slash to match a submodule, instead of just a directory. This is for some legacy behavior that's sort of dumb, but there it is.
Edward Thomson committed -
Test that submodules are found when the are included in a pathspec but have a trailing slash.
Edward Thomson committed -
If we're looking for a symlink, realpath will give us the resolved path, which is not what we're after, but a canonicalized version of the path the user asked for.
Carlos Martín Nieto committed
-
- 01 Apr, 2016 3 commits
-
-
merge_driver: fix missing `goto done;`
Carlos Martín Nieto committed -
The code initializing the merge driver registry accidentally forgot a `goto done` in case of an error. Because of this the next line, which registers the global shutdown callback for the merge drivers, is only called when an error occured. Fix this by adding the missing `goto done`. This fixes some memory leaks when the global state is shut down.
Patrick Steinhardt committed -
WD iterator: properly identify submodules
Carlos Martín Nieto committed
-
- 31 Mar, 2016 6 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Plug some leaks
Carlos Martín Nieto committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-