- 13 Feb, 2017 2 commits
-
-
Create worktrees for submodule repositories. The worktrees are created for the parent repository (e.g. the one containing submodules) and for the contained child repository.
Patrick Steinhardt committed -
Patrick Steinhardt committed
-
- 10 Feb, 2017 5 commits
-
-
Add support for lowercase proxy environment variables
Edward Thomson committed -
Christopher Bargren committed
-
dirname with DOS prefixes
Edward Thomson committed -
Flag options in git_stash_apply and git_stash_pop as being optional
Edward Thomson committed -
rename detection: don't try to detect submodule renames
Edward Thomson committed
-
- 09 Feb, 2017 5 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Test that shows that submodules are incorrectly considered in renames, and `git_merge_trees` will fail to lookup the submodule as a blob.
Edward Thomson committed -
The options parameter in both git_stash_apply and git_stash_pop can be NULL. They should be flagged as such in the documentation.
Remy Suen committed -
Fix digest credentials for proxy in windows
Edward Thomson committed
-
- 08 Feb, 2017 7 commits
-
-
Christopher Bargren committed
-
curl supports HTTPS_PROXY in addition to https_proxy (and their http counterparts). This change ensures parity with curl's behavior.
Christopher Bargren committed -
As of recently, we failed to correctly discover repositories at a Win32 system root. Instead of aborting the upwards-traversal of the file system, we were looping infinitely when traversal started at either a Win32 drive prefix ("C:/") or a network path ("//somehost"). The issue has been fixed, so add a test to catch regressions.
Patrick Steinhardt committed -
When calling `git_path_dirname_r` on a Win32 prefix, e.g. a drive or network share prefix, we always want to return the trailing '/'. This does not work currently when passing in a path like 'C:', where the '/' would not be appended correctly. Fix this by appending a '/' if we try to normalize a Win32 prefix and there is no trailing '/'.
Patrick Steinhardt committed -
Getting the dirname of a filesystem root should return the filesystem root itself. E.g. the dirname of "/" is always "/". On Windows, we emulate this behavior and as such, we should return e.g. "C:/" if calling dirname on "C:/". But we currently fail to do so and instead return ".", as we do not check if we actually have a Windows prefix before stripping off the last directory component. Fix this by calling out to `win32_prefix_length` immediately after stripping trailing slashes, returning early if we have a prefix.
Patrick Steinhardt committed -
Extract code which determines if a path is at a Windows system's root. This incluses drive prefixes (e.g. "C:\") as well as network computer names (e.g. "//computername/").
Patrick Steinhardt committed -
Flag checkout_opts in git_reset as optional
Edward Thomson committed
-
- 06 Feb, 2017 2 commits
-
-
Christopher Bargren committed
-
Chris Bargren committed
-
- 04 Feb, 2017 3 commits
-
-
The check_outs argument can be NULL and should be flagged accordingly in the header file.
Remy Suen committed -
Flag given_opts in git_revert as optional
Edward Thomson committed -
The given_opts argument can actually be NULL and thus should be flagged accordingly in the header file.
Remy Suen committed
-
- 02 Feb, 2017 4 commits
-
-
Vector reverse overflow
Edward Thomson committed -
The code reversing a vector initially determines the rear-pointer by simply subtracting 1 from the vector's length. Obviously, this fails if the vector is empty, in which case we have an integer overflow. Fix the issue by returning early if the vector is empty.
Patrick Steinhardt committed -
Adam Niedzielski committed
-
Update docs for git_oid_fromstrn and p
Edward Thomson committed
-
- 27 Jan, 2017 3 commits
-
-
Matthew Plough committed
-
Fix uninitialized variable warning
Edward Thomson committed -
Fix the following warning emitted by clang: [ 16%] Building C object CMakeFiles/libgit2_clar.dir/src/submodule.c.o /Users/mplough/devel/external/libgit2/src/submodule.c:408:6: warning: variable 'i' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if ((error = load_submodule_names(names, cfg))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mplough/devel/external/libgit2/src/submodule.c:448:20: note: uninitialized use occurs here git_iterator_free(i); ^ /Users/mplough/devel/external/libgit2/src/submodule.c:408:2: note: remove the 'if' if its condition is always false if ((error = load_submodule_names(names, cfg))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mplough/devel/external/libgit2/src/submodule.c:404:17: note: initialize the variable 'i' to silence this warning git_iterator *i; ^ = NULL 1 warning generated.
Matthew Plough committed
-
- 24 Jan, 2017 2 commits
-
-
WIP: some coverity & compiler warning fixes
Carlos Martín Nieto committed -
WinHTTP: set proper error messages when SSL fails
Carlos Martín Nieto committed
-
- 23 Jan, 2017 7 commits
-
-
Edward Thomson committed
-
If `attr_cache_lookup_entry` fails to find the given file, make sure that we do not try to free the given file.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
When we fail to load submodules, don't free the list; it is later freed unconditionally.
Edward Thomson committed -
Fix a few recent warnings
Edward Thomson committed -
Etienne Samson committed
-