- 10 Apr, 2023 13 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
The config file checksum is only used to detect changes internally -- it is not stored within the repository. Therefore this need not be configurable. Use SHA256 everywhere, regardless of the repository object format.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Our thread-local sha string buffer should be sized to support SHA256 strings.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 08 Apr, 2023 2 commits
-
-
`git_filebuf` hashes contents as its written; allow for SHA1 or SHA256 as that hash. Currently, most callers simply use SHA1 as they do not yet know about SHA256 themselves.
Edward Thomson committed -
repo: honor environment variables for more scenarios
Edward Thomson committed
-
- 04 Apr, 2023 6 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 -
Shocked that our leak checkers didn't find this earlier.
Edward Thomson committed
-
- 27 Mar, 2023 2 commits
-
-
repo: don't allow repeated extensions
Edward Thomson committed -
Introduce Schannel and SSPI for Windows
Edward Thomson committed
-
- 21 Mar, 2023 7 commits
-
-
v1.6.3
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
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 2 commits
-
-
pack: use 64 bits for the number of objects
Edward Thomson committed -
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
-
- 11 Mar, 2023 1 commit
-
-
cmake: don't include `include/git2`
Edward Thomson 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 2 commits
-
-
Edward Thomson committed
-
These declaration poses problems on some embedded or retro Linux systems that deliberately disable support for wchar_t from their libc.
Nicolas Cavallari committed
-
- 03 Mar, 2023 1 commit
-
-
Edward Thomson committed
-
- 02 Mar, 2023 2 commits
-
-
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 -
Ensure that when all files beneath a directory are ignored that we add the files when FORCE is specified.
Edward Thomson committed
-