- 11 Apr, 2016 1 commit
-
-
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 5 commits
-
-
config: don't special-case multivars that don't exist yet
Edward Thomson committed -
Edward Thomson committed
-
If we hit the EOF while trying to write a new value, it may be that we're already in the section that we were looking for. If so, do not write a (duplicate) section header, just write the value.
Edward Thomson committed -
We should notice that we are in the correct section to add. This is a cosmetic bug, since replacing any of these settings does work.
Carlos Martín Nieto committed -
CMakeLists: Further improve the error messages regarding CMAKE_SIZEOF_VOID_P
Edward Thomson committed
-
- 26 Mar, 2016 1 commit
-
-
Some FANTASTIC iterator refactoring
Carlos Martín Nieto committed
-
- 24 Mar, 2016 7 commits
-
-
Marc Strapetz committed
-
Marc Strapetz committed
-
Marc Strapetz committed
-
Marc Strapetz committed
-
Marc Strapetz committed
-
Remove some unused functions, refactor some ugliness.
Edward Thomson committed -
(It's slow!)
Edward Thomson committed
-