- 11 Apr, 2023 1 commit
-
-
When the programdata path is missing, ensure that we pass down the `GIT_ENOTFOUND` error to the caller instead of converting it to a generic `-1`.
Edward Thomson committed
-
- 04 Apr, 2023 5 commits
-
-
When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor the `GIT_CONFIG_GLOBAL`, `GIT_CONFIG_SYSTEM` and `GIT_CONFIG_NOSYSTEM` environment variables.
Edward Thomson committed -
When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor the `GIT_COMMON_DIR` environment variable.
Edward Thomson committed -
When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor the `GIT_WORK_TREE` environment variable.
Edward Thomson committed -
Remove the `_git_repository_open_ext_from_env` and make it part of the general repository opening code path. This removes the re-entrancy, and standardizes things like index and config opening to a single place again so that we have predictable ordering of the opening procedure.
Edward Thomson committed -
"Could not find repository from ..." doesn't make sense. "Could not find repository _at_ ..." does not indicate that we walked down the path hierarchy, but at least it's more correct.
Edward Thomson committed
-
- 21 Mar, 2023 4 commits
-
-
Add support for SSPI on Windows, which offers NTLM and Negotiate authentication.
Edward Thomson committed -
Add functions to use convert a string with length, instead of assuming NUL termination. In addition, move the utf8 to 16 conversion routines into the `git_utf8` namespace instead of using namespaceless `git__` prefixed names.
Edward Thomson committed -
Name the GSSAPI and ntlmclient authentication providers as such. Today they're named after the authentication mechanism ("Negotiate", "NTLM") instead of their implementation. If we have competing implementations for the same mechanism (eg, a future Windows SSPI-based provider for Negotiate and NTLM) then this will get confusing.
Edward Thomson committed -
Provide a stream interface for Schannel - the native crypto APIs - on Windows. This allows Windows to use the same HTTP transport that all the other platforms use, with its own native crypto. Ultimately this allows us to deprecate WinHTTP and we need not add support for our socket changes in two places (our HTTP stack and the WinHTTP stack).
Edward Thomson committed
-
- 16 Mar, 2023 1 commit
-
-
It is a bit too hidden why we want 64 bits when we're assigning to a 32-bit integer later on to store the number of objects, so go back to uint32_t and cast to uint64_t during the size calculation.
Carlos Martín Nieto committed
-
- 14 Mar, 2023 1 commit
-
-
Keeping it as a 32-bit value means the min size calculation overflows or gets truncated which can lead to issues with large packfiles.
Carlos Martín Nieto committed
-
- 10 Mar, 2023 1 commit
-
-
Including the `include/git2` build path is a seemingly unnecessary oversight to include the generated `experimental.h` file.
Edward Thomson committed
-
- 08 Mar, 2023 1 commit
-
-
These declaration poses problems on some embedded or retro Linux systems that deliberately disable support for wchar_t from their libc.
Nicolas Cavallari committed
-
- 02 Mar, 2023 1 commit
-
-
When the contents of an entire new directory is ignored, and `FORCE` is specified to `git_index_add_all`, ensure that we expand the entire file list. By default, diff will coalesce a fully ignored folder into a single diff entry; expand it.
Edward Thomson committed
-
- 01 Mar, 2023 1 commit
-
-
`git_odb_open` was erroneously removed during a refactoring; add it back.
Edward Thomson committed
-
- 28 Feb, 2023 1 commit
-
-
Found this randomly while debugging #6517
Yuriy Chernyshov committed
-
- 27 Feb, 2023 3 commits
-
-
The library name is correctly libgit2 (not git2) or libgit2-experimental depending on configuration.
Edward Thomson committed -
`git_odb_backend_loose` was erroneously removed during a refactoring; add it back.
Edward Thomson committed -
This reverts commit f68b40c0.
Edward Thomson committed
-
- 25 Feb, 2023 2 commits
-
-
In b1e83cca we erroneously stopped setting the old ID to zero; correct that.
Edward Thomson committed -
If a user attempts to add a custom extension that the system already supports, or that is already in their list of custom extensions, de-dup it.
Edward Thomson committed
-
- 24 Feb, 2023 2 commits
-
-
Co-authored-by: Stefan Karpinski <stefan@karpinski.org>
Francois-Xavier Coudert committed -
Edward Thomson committed
-
- 23 Feb, 2023 1 commit
-
-
`git_odb_stream` should have an `oid_type` to disambiguate; that's not necessary on non-experimental SHA256 builds. Avoid unnecessary ABI breakage for consumers and hide it behind an ifdef for now.
Edward Thomson committed
-
- 22 Feb, 2023 1 commit
-
-
Fixes https://github.com/libgit2/libgit2/issues/3866 Has been applied in all Julia builds since 2017: https://github.com/JuliaLang/julia/pull/17459 Authored-by: Keno Fischer <kfischer@college.harvard.edu>
Francois-Xavier Coudert committed
-
- 20 Feb, 2023 1 commit
-
-
Git for Windows does some truly bizarre things with paths that start with a forward slash; and expects you to escape that with `%(prefix)`. This syntax generally means to add the prefix that Git was installed to -- eg `/usr/local` -- unless it's an absolute path, in which case the leading `%(prefix)/` is just removed. And Git for Windows expects you to use this syntax for absolute Unix-style paths (in "Git Bash" or Windows Subsystem for Linux). Worse, the behavior used to be that a leading `/` was not absolute. It would indicate that Git for Windows should add the prefix. So `//` is required for absolute Unix-style paths. Yes, this is truly horrifying. Emulate that behavior, I guess, but only for absolute paths. We won't deal with the Git install prefix. Also, give WSL users an escape hatch where they don't have to think about this and can use the literal path that the filesystem APIs provide (`//wsl.localhost/...`).
Edward Thomson committed
-
- 18 Feb, 2023 1 commit
-
-
With some paths on Win32, we cannot identify the owner because it's on a file share (WSL2 or UNC). In that case, don't fail, but identify that the current user does not own the path. This matches Git for Windows behavior.
Edward Thomson committed
-
- 17 Feb, 2023 2 commits
-
-
Miguel Arroz committed
-
Miguel Arroz committed
-
- 16 Feb, 2023 3 commits
-
-
Edward Thomson committed
-
`git_strarray_copy` is deprecated (and has been included in `deprecated.h` for some time). It should not have remained in the public `strarray.h`. Remove it.
Edward Thomson committed -
Edward Thomson committed
-
- 15 Feb, 2023 1 commit
-
-
Edward Thomson committed
-
- 14 Feb, 2023 3 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Fixes issue #6156. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 13 Feb, 2023 1 commit
-
-
This prevents GIT_MMAP_VALIDATE from failing. This also prevents git_diff_file_content__unload from attempting to free git_str__initstr.
Iliyas Jorio committed
-
- 12 Feb, 2023 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-