| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
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.
|
|\
| |
| | |
odb: restore `git_odb_open`
|
| |
| |
| |
| |
| | |
`git_odb_open` was erroneously removed during a refactoring; add it
back.
|
|\ \
| | |
| | | |
fs_path: let root run the ownership tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `git_fs_path_owner_is_current_user` expects the root dir on unix
(`/`) to be owned by a non-current user. This makes sense unless root
(or euid == 0) is running the tests, which often happens during distro
build / packaging scripts. Allow them to run the tests.
|
|\ \ \
| |_|/
|/| | |
Remove unused wditer variable
|
|/ /
| |
| | |
Found this randomly while debugging #6517
|
| | |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| | |
The library name is correctly libgit2 (not git2) or libgit2-experimental
depending on configuration.
|
|\ \ |
|
| | | |
|
| |/
| |
| |
| |
| | |
`git_odb_backend_loose` was erroneously removed during a refactoring;
add it back.
|
|\ \
| |/
|/| |
Revert #6503
|
| |
| |
| |
| | |
This reverts commit 43e84e246cc716ac51a276945b5b112b21d802d1.
|
| |
| |
| |
| | |
This reverts commit f68b40c0af9c7c5c2c8740fe4a8fbcba367e0087.
|
|\ \
| |/
|/| |
remote: always populate old id in update tips
|
|/
|
|
|
| |
In b1e83cca1bbc255627950b4e8d4fdb1174bf7a12 we erroneously stopped
setting the old ID to zero; correct that.
|
| |
|
|\
| |
| | |
v1.6
|
| | |
|
|/ |
|
|\
| |
| | |
Pass hostkey & port to host verify callback
|
| | |
|
| |
| |
| |
| | |
Co-authored-by: Stefan Karpinski <stefan@karpinski.org>
|
|/ |
|
|\
| |
| | |
Correct the definition of "empty" in the docs for `git_repository_is_empty`
|
|/
|
|
|
|
|
|
|
|
|
| |
This improves the documentation for `git_repository_is_empty`
which currently does not accurately describe libgit2's definition
of "empty".
It says that HEAD must point to the "unborn master branch", when
in fact, this is not the case if the repo's `init.defaultBranch`
configuration is set. If it is set, it will check that HEAD points
there. Only if it is not set does it fall back to `master`.
|
|\
| |
| | |
odb: don't unconditionally add oid_type to stream
|
| |
| |
| |
| |
| |
| | |
`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.
|
|\ \
| |/
|/| |
tests: always unset HTTP_PROXY before starting tests
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Make failure to connect to ssh-agent non-fatal
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
|/| |
README: clarify the linking exception
|
| |
| |
| | |
Update based on carlosmn suggestions.
|
| |
| |
| |
| |
| |
| |
| | |
We say that you can link libgit2 "unmodified"... "without having to release
its source code". Clarify that you can modify libgit2 - but you must
release _its_ source code back - and you can link libgit2 without having
to release _your software's_ source code.
|
|\ \
| |/
|/| |
Handle Win32 shares
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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/...`).
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
#6491: Sets oid_type on repos open with git_repository_open_bare
|
| | |
|
|/ |
|
|\
| |
| | |
stash: update strarray usage
|
|/ |
|