- 30 Jan, 2022 1 commit
-
-
refs: Speed up packed lookups.
Edward Thomson committed
-
- 27 Jan, 2022 1 commit
-
-
COPYING: remove regex copyright, add PCRE copyright
Edward Thomson committed
-
- 23 Jan, 2022 1 commit
-
-
We now bundle PCRE for our regular expression implementation; include that copyright notice and remove the now-unused regular expression copyright.
Edward Thomson committed
-
- 20 Jan, 2022 2 commits
-
-
diff_driver: split global_drivers array into separate elements
Edward Thomson committed -
win32: update git for windows compatibility
Edward Thomson committed
-
- 19 Jan, 2022 1 commit
-
-
C99 doesn't allow structures with flexible length array to be placed in an array.
Peter Pettersson committed
-
- 18 Jan, 2022 22 commits
-
-
Improve documentation
Edward Thomson committed -
We look for a Git for Windows installation to use its git config, so that clients built on libgit2 can interoperate with the Git for Windows CLI (and clients that are built on top of _it_). Look for `git` both in the `PATH` and in the registry. Use the _first_ git install in the path, and the first git install in the registry. Look in both the `etc` dir and the architecture-specific `etc` dirs (`mingw64/etc` and `mingw32/etc`) beneath the installation root. Prefer the git in the `PATH` to the git location in the registry so that users can override that. Include more tests for this behavior.
Edward Thomson committed -
Provide a helper function to find an executable in the current process's PATH.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
With Git for Windows >= 2 the share folder is in an architecture specific subfolder. This also add support for Git for Windows versions between 2 and 2.24 where also the etc folder is in an architecture specific subfolder. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Removal of the last 4 chars is only required for Git for Windows installations in order to find the "root" folder of the Git installation. Fixes issue #5127. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Could happen if the path to git.exe is near to MAX_PATH and we append a longer subdir such as "share/git-core" to it. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Support scp style paths with ports
Edward Thomson committed -
Fix typos
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Instead of trying to figure out a repo's path from a URL by hand, parse a URL using the parsing functionality.
Edward Thomson committed -
We occasionally need to determine whether a given string is a URL or something else. (The "something else" may be a git path in a different format, like scp formatting, which needs to be handled differently.)
Edward Thomson committed -
Edward Thomson committed
-
Provide a mechanism for parsing scp-style paths (eg `git@github.com:libgit2/libgit2` into the url form `ssh://git@github.com/libgit2/libgit2`.)
Edward Thomson committed -
Edward Thomson committed
-
GitHub is removing support for the unauthenticated git protocol; test with the https protocol.
Edward Thomson committed -
remote: support `http.followRedirects` (`false` and `initial`) and follow initial redirects by default
Edward Thomson committed -
c99: change single bit flags to unsigned
Edward Thomson committed
-
- 17 Jan, 2022 1 commit
-
-
Peter Pettersson committed
-
- 13 Jan, 2022 11 commits
-
-
Colin Stolley committed
-
Avoid using a stale mmap() by tracking the filestamp.
Colin Stolley committed -
Since mmap() on windows locks the file, and this map is long-lived, just copy the file into memory instead. This enables us to keep the lookup() paths the same, while avoiding the downsides of mmap() on windows.
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed -
Co-authored-by: Edward Thomson <ethomson@github.com>
Colin Stolley committed
-