Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6534 from libgit2/ethomson/v1.6.3v1.6.3 | Edward Thomson | 2023-03-21 | 4 | -4/+27 |
|\ | | | | | v1.6.3 | ||||
| * | v1.6.3: update changelog | Edward Thomson | 2023-03-21 | 1 | -0/+23 |
| | | |||||
| * | v1.6.3: update version numbers | Edward Thomson | 2023-03-21 | 3 | -4/+4 |
|/ | |||||
* | Merge pull request #6530 from libgit2/cmn/pack-index-64 | Edward Thomson | 2023-03-16 | 1 | -5/+4 |
|\ | | | | | pack: use 64 bits for the number of objects | ||||
| * | pack: cast to uint64_t when calculating index size instead | Carlos Martín Nieto | 2023-03-16 | 1 | -4/+3 |
| | | | | | | | | | | | | 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. | ||||
| * | pack: use 64 bits for the number of objects | Carlos Martín Nieto | 2023-03-14 | 1 | -4/+4 |
|/ | | | | | Keeping it as a 32-bit value means the min size calculation overflows or gets truncated which can lead to issues with large packfiles. | ||||
* | Merge pull request #6529 from libgit2/ethomson/include_sanity | Edward Thomson | 2023-03-11 | 3 | -3/+0 |
|\ | | | | | cmake: don't include `include/git2` | ||||
| * | cmake: don't include `include/git2` | Edward Thomson | 2023-03-10 | 3 | -3/+0 |
|/ | | | | | Including the `include/git2` build path is a seemingly unnecessary oversight to include the generated `experimental.h` file. | ||||
* | Merge pull request #6527 from Batchyx/batchyx/wchar-fixes | Edward Thomson | 2023-03-08 | 1 | -0/+2 |
|\ | |||||
| * | sysdir: Do not declare win32 functions on non-win32 platforms | Nicolas Cavallari | 2023-03-08 | 1 | -0/+2 |
|/ | | | | | These declaration poses problems on some embedded or retro Linux systems that deliberately disable support for wchar_t from their libc. | ||||
* | Merge pull request #6521 from libgit2/ethomson/weird_ignore | Edward Thomson | 2023-03-03 | 2 | -1/+48 |
|\ | |||||
| * | index: support `git_index_add_all` directories with force | Edward Thomson | 2023-03-02 | 1 | -1/+2 |
| | | | | | | | | | | | | | | 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. | ||||
| * | index: test `git_index_add_all` with force | Edward Thomson | 2023-03-02 | 1 | -0/+23 |
| | | | | | | | | | | Ensure that when all files beneath a directory are ignored that we add the files when FORCE is specified. | ||||
| * | index: test `git_index_add_all` with ignored folder | Edward Thomson | 2023-03-02 | 1 | -0/+23 |
|/ | | | | | Ensure that when all files beneath a directory are ignored that we actually ignore the files. | ||||
* | Merge pull request #6520 from libgit2/ethomson/git_odb_open | Edward Thomson | 2023-03-02 | 2 | -0/+53 |
|\ | | | | | odb: restore `git_odb_open` | ||||
| * | odb: restore `git_odb_open` | Edward Thomson | 2023-03-01 | 2 | -0/+53 |
| | | | | | | | | | | `git_odb_open` was erroneously removed during a refactoring; add it back. | ||||
* | | Merge pull request #6513 from libgit2/ethomson/util_test_root | Edward Thomson | 2023-03-01 | 1 | -1/+5 |
|\ \ | | | | | | | fs_path: let root run the ownership tests | ||||
| * | | fs_path: let root run the ownership tests | Edward Thomson | 2023-02-27 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #6518 from georgthegreat/patch-1 | Edward Thomson | 2023-03-01 | 1 | -2/+0 |
|\ \ \ | |_|/ |/| | | Remove unused wditer variable | ||||
| * | | Remove unused wditer variable | Yuriy Chernyshov | 2023-02-28 | 1 | -2/+0 |
|/ / | | | | | Found this randomly while debugging #6517 | ||||
* | | v1.6.2: update changelogv1.6.2 | Edward Thomson | 2023-02-28 | 1 | -0/+20 |
| | | |||||
* | | v1.6.2: update version numbers | Edward Thomson | 2023-02-28 | 3 | -4/+4 |
| | | |||||
* | | Merge pull request #6514 from libgit2/ethomson/libgit2_pc | Edward Thomson | 2023-02-27 | 1 | -2/+2 |
|\ \ | |||||
| * | | meta: configure pkg-config .pc correctly | Edward Thomson | 2023-02-27 | 1 | -2/+2 |
| |/ | | | | | | | | | The library name is correctly libgit2 (not git2) or libgit2-experimental depending on configuration. | ||||
* | | Merge pull request #6512 from libgit2/ethomson/odb_loose | Edward Thomson | 2023-02-27 | 2 | -0/+77 |
|\ \ | |||||
| * | | odb: test git_odb_backend_loose | Edward Thomson | 2023-02-27 | 1 | -0/+43 |
| | | | |||||
| * | | odb: add back git_odb_backend_loose | Edward Thomson | 2023-02-27 | 1 | -0/+34 |
| |/ | | | | | | | | | `git_odb_backend_loose` was erroneously removed during a refactoring; add it back. | ||||
* | | Merge pull request #6511 from libgit2/ethomson/hostandport | Edward Thomson | 2023-02-27 | 2 | -22/+4 |
|\ \ | |/ |/| | Revert #6503 | ||||
| * | Revert "tests: validate host and port for ssh tests when non-standard" | Edward Thomson | 2023-02-27 | 1 | -11/+1 |
| | | | | | | | | This reverts commit 43e84e246cc716ac51a276945b5b112b21d802d1. | ||||
| * | Revert "Pass hostkey & port to host verify callback" | Edward Thomson | 2023-02-27 | 1 | -11/+3 |
| | | | | | | | | This reverts commit f68b40c0af9c7c5c2c8740fe4a8fbcba367e0087. | ||||
* | | Merge pull request #6506 from libgit2/ethomson/zero_update_tips | Edward Thomson | 2023-02-27 | 1 | -1/+1 |
|\ \ | |/ |/| | remote: always populate old id in update tips | ||||
| * | remote: always populate old id in update tips | Edward Thomson | 2023-02-25 | 1 | -1/+1 |
|/ | | | | | In b1e83cca1bbc255627950b4e8d4fdb1174bf7a12 we erroneously stopped setting the old ID to zero; correct that. | ||||
* | v1.6.1: correct missing version number updatesv1.6.1 | Edward Thomson | 2023-02-25 | 4 | -5/+5 |
| | |||||
* | Merge pull request #6501 from libgit2/ethomson/v1.6 | Edward Thomson | 2023-02-25 | 5 | -5/+104 |
|\ | | | | | v1.6 | ||||
| * | v1.6: update version numbers | Edward Thomson | 2023-02-24 | 4 | -5/+5 |
| | | |||||
| * | v1.6: update the changelog | Edward Thomson | 2023-02-24 | 1 | -0/+99 |
|/ | |||||
* | Merge pull request #6503 from fxcoudert/hostandport | Edward Thomson | 2023-02-24 | 4 | -15/+42 |
|\ | | | | | Pass hostkey & port to host verify callback | ||||
| * | tests: validate host and port for ssh tests when non-standard | Edward Thomson | 2023-02-24 | 1 | -1/+11 |
| | | |||||
| * | Pass hostkey & port to host verify callback | Francois-Xavier Coudert | 2023-02-24 | 1 | -3/+11 |
| | | | | | | | | Co-authored-by: Stefan Karpinski <stefan@karpinski.org> | ||||
| * | net: parse urls or scp style paths in the same function | Edward Thomson | 2023-02-24 | 3 | -11/+20 |
|/ | |||||
* | Merge pull request #6500 from timrogers/timrogers/empty-docs | Edward Thomson | 2023-02-23 | 1 | -1/+3 |
|\ | | | | | Correct the definition of "empty" in the docs for `git_repository_is_empty` | ||||
| * | Correct the definition of "empty" in the docs for `git_repository_is_empty` | Tim Rogers | 2023-02-23 | 1 | -1/+3 |
|/ | | | | | | | | | | | 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`. | ||||
* | Merge pull request #6499 from libgit2/ethomson/sha256_fix_2 | Edward Thomson | 2023-02-23 | 2 | -0/+4 |
|\ | | | | | odb: don't unconditionally add oid_type to stream | ||||
| * | odb: don't unconditionally add oid_type to stream | Edward Thomson | 2023-02-23 | 2 | -0/+4 |
| | | | | | | | | | | | | `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. | ||||
* | | Merge pull request #6498 from libgit2/ethomson/httpproxy_env_tests | Edward Thomson | 2023-02-23 | 1 | -21/+15 |
|\ \ | |/ |/| | tests: always unset HTTP_PROXY before starting tests | ||||
| * | tests: always unset HTTP_PROXY before starting tests | Edward Thomson | 2023-02-23 | 1 | -21/+15 |
|/ | | | | | | 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. | ||||
* | Merge pull request #6497 from fxcoudert/ssh-agent-nonfatal | Edward Thomson | 2023-02-22 | 1 | -1/+3 |
|\ | | | | | Make failure to connect to ssh-agent non-fatal | ||||
| * | Make failure to connect to ssh-agent non-fatal | Francois-Xavier Coudert | 2023-02-22 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | 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> | ||||
* | | Merge pull request #6494 from libgit2/ethomson/clarify_readme | Edward Thomson | 2023-02-22 | 1 | -2/+3 |
|\ \ | |/ |/| | README: clarify the linking exception | ||||
| * | Update README.md | Edward Thomson | 2023-02-22 | 1 | -5/+5 |
| | | | | | | Update based on carlosmn suggestions. |