| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor
the `GIT_COMMON_DIR` environment variable.
|
| |
|
|
|
| |
When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor
the `GIT_WORK_TREE` environment variable.
|
| |
|
|
| |
Shocked that our leak checkers didn't find this earlier.
|
| |\
| |
| | |
repo: don't allow repeated extensions
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
| |
| |
| |
| | |
Ensure that when all files beneath a directory are ignored that we
add the files when FORCE is specified.
|
| | |
| |
| |
| |
| | |
Ensure that when all files beneath a directory are ignored that we
actually ignore the files.
|
| | |
| |
| |
| |
| | |
`git_odb_open` was erroneously removed during a refactoring; add it
back.
|
| |\ \ |
|
| | |/ |
|
| |/
|
|
| |
This reverts commit 43e84e246cc716ac51a276945b5b112b21d802d1.
|
| | |
|
| |
|
|
|
|
| |
The remote::httpproxy::env test (correctly) reset the environment before
running; however the other tests are also impacted by the environment
and need to have it isolated.
|
| | |
|
| |\
| |
| | |
stash: partial stash specific files
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
SHA256: more SHA256 support
|
| | | |
| | |
| | |
| | |
| | | |
The longest path within a git repository is now a SHA256 format
packfile. Adjust our max length checking to match.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This is much of the plumbing for the object database to support SHA256,
and for objects to be able to parse SHA256 versions of themselves.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Teach the packfile machinery to cope with SHA256.
|
| | | |
| | |
| | |
| | |
| | | |
In clar, an underscore is meaningful; avoid using it incorrectly /
unnecessarily.
|
| | | |
| | |
| | |
| | |
| | | |
Ensure that we maintain the `core.repositoryFormatVersion` value instead
of always overwriting it with the default.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Teach the repository about the `objectformat` extension, supporting
`sha1` always and `sha256` when the experimental sha256 support is
active.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Support the notion of a home directory separately from global configuration directory
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Teach the clone tests how to clone from github.com, when given a keypair
with a passphrase and known_hosts data. This allows us to better
exercise our known_hosts checking and ensure that the lifecycle of the
certificate callback matches our expectations.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we've split the notion of the home directory from the global
configuration store, our tests should use the appropriate one based on
what they're doing.
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
The windows sysdir functions are libgit2-specific and for git
compatibility only; remove them from the shared util directory and bring
them into the libgit2 source tree.
|
| |\ \ \
| | | |
| | | | |
#6422: handle dangling symbolic refs gracefully
|
| | | | | |
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Fixes issue #6156.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
| |/ / /
| | |
| | |
| | | |
This prevents GIT_MMAP_VALIDATE from failing.
This also prevents git_diff_file_content__unload from attempting to free git_str__initstr.
|
| |\ \ \
| | | |
| | | | |
push: revparse refspec source, so you can push things that are not refs
|
| | | | |
| | | |
| | | |
| | | | |
I want to push a commit by OID to a remote branch. Currently, push parses the refspecs such that the source must be the name of a ref (it uses git_reference_name_to_id to resolve it). This commit changes it so push uses git_revparse_single to resolve the source of the refspec. This allows for OIDs or other revs (e.g. `HEAD~2`) to be pushed.
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We're currently running it as part of the online suite but that doesn't have any
setup for ssh so we won't find the GitHub keys we set up during the test.
It doesn't need the private key setup as we just want to make sure we see some
auth request from the server, but with the addition of hostkey checking we're
now seeing it fail when we skip these tests.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Verify that trying to update submodule which has been configured but not added does return an error.
Issue #6433: git_submodule_update fails to update configured but missing submodule
|
| |\ \ \ \
| | | | |
| | | | | |
URL parsing for google-compatible URLs
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Ignore missing 'safe.directory' config during ownership checks
|
| | | |/ / /
| |/| | | |
|