- 19 Apr, 2016 2 commits
-
-
Instead of threading the state down to the larger loop, let's have the loop where we detect the double star so each of them are easier to read.
Carlos Martín Nieto committed -
In order to match the star-star, we disable the flag that's looking for a single path element, but that leads to searching for the pattern in the middle of elements in the input string. Mark when we're handing a star-star so we jump over the elements in our attempt to match the part of the pattern that comes after the star-star. While here, tighten up the check so we don't allow invalid rules through.
Carlos Martín Nieto committed
-
- 18 Apr, 2016 1 commit
-
-
Antonio Scandurra 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 13 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Plug some leaks
Carlos Martín Nieto committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Carlos Martín Nieto committed
-
Add a no-op size_t typedef for the doc parser
Edward Thomson committed -
Remove duplicated calls to git_mwindow_close
Carlos Martín Nieto committed -
xprepare memleaks
Carlos Martín Nieto committed -
Clang's documentation parser, which we use in our documentation system does not report any comments for functions which use size_t as a type. The root cause is buried somewhere in libclang but we can work around it by defining the type ourselves. This typedef makes sure that libclang sees it and that we do not change its size.
Carlos Martín Nieto committed -
The xdl_prepare_env() function may initialise an xdlclassifier_t data structure via xdl_init_classifier(), which allocates memory to several fields, for example 'rchash', 'rcrecs' and 'ncha'. If this function later exits due to the failure of xdl_optimize_ctxs(), then this xdlclassifier_t structure, and the memory allocated to it, is not cleaned up. In order to fix the memory leak, insert a call to xdl_free_classifier() before returning. This patch was originally written by Ramsay Jones (see commit 87f16258367a3b9a62663b11f898a4a6f3c19d31 in git.git).
Patrick Steinhardt committed -
Commit 307ab20b3 ("xdiff: PATIENCE/HISTOGRAM are not independent option bits", 19-02-2012) introduced the XDF_DIFF_ALG() macro to access the flag bits used to represent the diff algorithm requested. In addition, code which had used explicit manipulation of the flag bits was changed to use the macros. However, one example of direct manipulation remains. Update this code to use the XDF_DIFF_ALG() macro. This patch was originally written by Ramsay Jones (see commit 5cd6978a9cfef58de061a9525f3678ade479564d in git.git).
Patrick Steinhardt committed
-
- 29 Mar, 2016 1 commit
-
-
config: don't write duplicate section
Carlos Martín Nieto committed
-
- 28 Mar, 2016 2 commits
-
-
config: don't special-case multivars that don't exist yet
Edward Thomson committed -
Edward Thomson committed
-