Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added missing is_prunable test | Reginald McLean | 2023-05-16 | 1 | -0/+13 |
| | |||||
* | clone: skip timeout tests on WinHTTPethomson/timeouts | Edward Thomson | 2023-05-13 | 1 | -0/+16 |
| | |||||
* | streams: sockets are non-blocking and can timeout | Edward Thomson | 2023-05-13 | 2 | -1/+61 |
| | | | | | | | | | | | | | | | Make socket I/O non-blocking and add optional timeouts. Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter connection timeout. (The connect timeout cannot be longer than the operating system default.) Users may also now configure the socket read and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`. By default, connects still timeout based on the operating system defaults (typically 75 seconds) and socket read and writes block. Add a test against our custom testing git server that ensures that we can timeout reads against a slow server. | ||||
* | net: move rfc2818 hostname / wildcard matching to util | Edward Thomson | 2023-05-13 | 1 | -13/+0 |
| | |||||
* | Merge pull request #6557 from libgit2/ethomson/shallow | Edward Thomson | 2023-05-09 | 6 | -2/+670 |
|\ | | | | | Shallow (#6396) with some fixes from review | ||||
| * | fetch: remove `unshallow` option | Edward Thomson | 2023-05-09 | 1 | -1/+1 |
| | | | | | | | | | | The `depth` field is suitable to specify unshallowing; provide an enum to aide in specifying the `unshallow` value. | ||||
| * | oid: use an oid array instead of shallowarray | Edward Thomson | 2023-05-09 | 3 | -68/+117 |
| | | | | | | | | | | | | Users should provide us an array of object ids; we don't need a separate type. And especially, we should not be mutating user-providing values. Instead, use `git_oid *` in the shallow code. | ||||
| * | shallow: cleanup whitespace in tests | Edward Thomson | 2023-05-08 | 1 | -16/+16 |
| | | |||||
| * | grafts: handle SHA256 graft files | Edward Thomson | 2023-05-08 | 2 | -2/+2 |
| | | |||||
| * | transport: transports understand oid type | Edward Thomson | 2023-04-25 | 1 | -2/+2 |
| | | | | | | | | Teach the smart transport more about oid types, instead of assuming SHA1. | ||||
| * | shallow: move tests to online | Edward Thomson | 2023-04-24 | 1 | -12/+4 |
| | | |||||
| * | shallow: remove feature flag | Edward Thomson | 2023-04-24 | 3 | -16/+0 |
| | | | | | | | | | | The opt mechanism isn't _really_ meant to be for feature flags, and it's weird to feature flag shallow / unshallow at all. | ||||
| * | Merge remote-tracking branch 'origin/main' into shallow-clone-network | Edward Thomson | 2023-04-22 | 34 | -134/+1488 |
| |\ | |||||
| * \ | Merge commit 'd066d0d95c43e97df6624292f3f527f9372ca8fe' | lmcglash | 2023-03-10 | 50 | -1901/+1821 |
| |\ \ | |||||
| * | | | refactor grafts tests | Yuang Li | 2022-09-06 | 3 | -9/+9 |
| | | | | |||||
| * | | | remove unused statements | Yuang Li | 2022-09-05 | 1 | -1/+0 |
| | | | | |||||
| * | | | fix seg faults | Yuang Li | 2022-09-05 | 2 | -1/+3 |
| | | | | |||||
| * | | | fix free error | Yuang Li | 2022-08-31 | 1 | -2/+0 |
| | | | | |||||
| * | | | fix shallowarray test | Yuang Li | 2022-08-31 | 1 | -3/+3 |
| | | | | |||||
| * | | | support fetch unshallow option on shallow repos | yuangli | 2022-08-09 | 2 | -0/+93 |
| | | | | |||||
| * | | | edit tests for shallow clones | yuangli | 2022-08-02 | 1 | -10/+38 |
| | | | | |||||
| * | | | fix clone::shallow test behaviour | yuangli | 2022-07-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | eliminate build warnings | yuangli | 2022-07-29 | 1 | -0/+105 |
| | | | | |||||
| * | | | Merge branch 'mw_dev' into shallow-clone-local | Yuang Li | 2022-07-29 | 168 | -1123/+1738 |
| |\ \ \ | |||||
| * | | | | eliminate build warnings | yuangli | 2022-07-27 | 3 | -0/+418 |
| | | | | | |||||
* | | | | | sha256: wrap_odb supports SHA256 | Edward Thomson | 2023-05-06 | 3 | -3/+4 |
| | | | | | |||||
* | | | | | odb: test object lookups from git_repository_wrap_odb | Edward Thomson | 2023-05-06 | 1 | -1/+20 |
| |_|_|/ |/| | | | |||||
* | | | | Merge pull request #6549 from libgit2/ethomson/sha256_experimental | Edward Thomson | 2023-04-22 | 28 | -124/+1344 |
|\ \ \ \ | | | | | | | | | | | sha256: less hardcoded SHA1 types and lengths | ||||
| * | | | | commit graph: support sha256 | Edward Thomson | 2023-04-10 | 1 | -2/+15 |
| | | | | | |||||
| * | | | | midx: support sha256 | Edward Thomson | 2023-04-10 | 1 | -1/+6 |
| | | | | | |||||
| * | | | | diff: parse patches with sha256 | Edward Thomson | 2023-04-10 | 12 | -73/+97 |
| | | | | | |||||
| * | | | | index: add sha256 support | Edward Thomson | 2023-04-10 | 14 | -48/+1226 |
| | | | | | |||||
* | | | | | config: return `GIT_ENOTFOUND` for missing programdata | Edward Thomson | 2023-04-11 | 1 | -0/+11 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | 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`. | ||||
* | | | | repo: honor GIT_CONFIG_* environment variables | Edward Thomson | 2023-04-04 | 1 | -0/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | repo: honor GIT_COMMON_DIR when respecting env | Edward Thomson | 2023-04-04 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor the `GIT_COMMON_DIR` environment variable. | ||||
* | | | | repo: honor GIT_WORK_TREE environment variable | Edward Thomson | 2023-04-04 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | When the repository is opened with `GIT_REPOSITORY_OPEN_FROM_ENV`, honor the `GIT_WORK_TREE` environment variable. | ||||
* | | | | repo: free data in the discovery tests | Edward Thomson | 2023-04-04 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | Shocked that our leak checkers didn't find this earlier. | ||||
* | | | | Merge pull request #6505 from libgit2/ethomson/extension_madness | Edward Thomson | 2023-03-27 | 1 | -6/+23 |
|\ \ \ \ | | | | | | | | | | | repo: don't allow repeated extensions | ||||
| * | | | | repo: don't allow repeated extensions | Edward Thomson | 2023-02-25 | 1 | -6/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | | http: introduce schannel streams for windows | Edward Thomson | 2023-03-21 | 2 | -4/+15 |
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | | | 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. | ||||
* | | | | odb: restore `git_odb_open` | Edward Thomson | 2023-03-01 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | | | `git_odb_open` was erroneously removed during a refactoring; add it back. | ||||
* | | | | Merge pull request #6512 from libgit2/ethomson/odb_loose | Edward Thomson | 2023-02-27 | 1 | -0/+43 |
|\ \ \ \ | |||||
| * | | | | odb: test git_odb_backend_loose | Edward Thomson | 2023-02-27 | 1 | -0/+43 |
| |/ / / | |||||
* | | | | Revert "tests: validate host and port for ssh tests when non-standard" | Edward Thomson | 2023-02-27 | 1 | -11/+1 |
|/ / / | | | | | | | | | | This reverts commit 43e84e246cc716ac51a276945b5b112b21d802d1. | ||||
* | | | tests: validate host and port for ssh tests when non-standard | Edward Thomson | 2023-02-24 | 1 | -1/+11 |
| | | | |||||
* | | | 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. | ||||
* | | | #6491: Sets oid_type on repos open with git_repository_open_bare | Miguel Arroz | 2023-02-17 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #6330 from gitkraken-jacobw/partial-stashing | Edward Thomson | 2023-02-16 | 2 | -0/+42 |
|\ \ \ | | | | | | | | | stash: partial stash specific files |