Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Rephrase param description | punkymaniac | 2022-01-09 | 1 | -1/+1 | |
| | | ||||||
| * | Fix misspelling word "ge" -> "get" | punkymaniac | 2022-01-09 | 1 | -1/+1 | |
| | | ||||||
| * | Document return value for git_libgit2_features | punkymaniac | 2022-01-09 | 1 | -0/+3 | |
| | | ||||||
| * | Add documentation about parameter and return value | punkymaniac | 2022-01-09 | 30 | -0/+122 | |
| | | ||||||
| * | Add missing parameter name | punkymaniac | 2022-01-09 | 1 | -1/+1 | |
| | | ||||||
| * | Add `git_apply_options_init` documentation | punkymaniac | 2022-01-09 | 1 | -0/+10 | |
| | | ||||||
* | | Merge pull request #6167 from libgit2/ethomson/scp_urls_with_ports | Edward Thomson | 2022-01-17 | 12 | -158/+645 | |
|\ \ | | | | | | | Support scp style paths with ports | |||||
| * | | ssh: use url parsing functionalityethomson/scp_urls_with_ports | Edward Thomson | 2022-01-17 | 1 | -61/+26 | |
| | | | | | | | | | | | | | | | Instead of trying to figure out a repo's path from a URL by hand, parse a URL using the parsing functionality. | |||||
| * | | url: introduce git_net_str_is_url | Edward Thomson | 2022-01-17 | 3 | -1/+41 | |
| | | | | | | | | | | | | | | | | | | We occasionally need to determine whether a given string is a URL or something else. (The "something else" may be a git path in a different format, like scp formatting, which needs to be handled differently.) | |||||
| * | | ci: test `[user@host:port]:path` formats | Edward Thomson | 2022-01-17 | 1 | -5/+15 | |
| | | | ||||||
| * | | url: introduce git_net_url_parse_scp | Edward Thomson | 2022-01-17 | 4 | -38/+515 | |
| | | | | | | | | | | | | | | | | | | Provide a mechanism for parsing scp-style paths (eg `git@github.com:libgit2/libgit2` into the url form `ssh://git@github.com/libgit2/libgit2`.) | |||||
| * | | common: update the error checking macros | Edward Thomson | 2022-01-17 | 1 | -2/+6 | |
| | | | ||||||
| * | | online: test with https instead of git protocol | Edward Thomson | 2022-01-17 | 5 | -52/+43 | |
| | | | | | | | | | | | | | | | GitHub is removing support for the unauthenticated git protocol; test with the https protocol. | |||||
* | | | Merge pull request #6164 from rex4539/typos | Edward Thomson | 2022-01-17 | 57 | -82/+82 | |
|\ \ \ | |/ / |/| | | Fix typos | |||||
| * | | Merge branch 'main' into typos | Edward Thomson | 2022-01-17 | 38 | -596/+1175 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Merge pull request #6175 from libgit2/ethomson/follow_redirects_initial | Edward Thomson | 2022-01-17 | 24 | -568/+976 | |
|\ \ \ | | | | | | | | | remote: support `http.followRedirects` (`false` and `initial`) and follow initial redirects by default | |||||
| * | | | ci: minor formatting cleanups to test outputethomson/follow_redirects_initial | Edward Thomson | 2022-01-13 | 1 | -2/+3 | |
| | | | | ||||||
| * | | | remote: test honoring configuration option | Edward Thomson | 2022-01-13 | 1 | -9/+57 | |
| | | | | | | | | | | | | | | | | Test that we honor `http.followRedirects` when set to initial or false. | |||||
| * | | | remote: honor `http.followRedirects` configuration option | Edward Thomson | 2022-01-13 | 4 | -20/+68 | |
| | | | | ||||||
| * | | | remote: introduce `follow_redirects` connect option | Edward Thomson | 2022-01-13 | 6 | -4/+138 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give callers the ability to select how to handle redirects - either supporting redirects during the initial connection (so that, for example, `git.example.com/repo` can redirect to `github.com/example/repo`) or all/no redirects. This is for compatibility with git. | |||||
| * | | | url: optionally allow off-site redirects | Edward Thomson | 2022-01-13 | 5 | -26/+47 | |
| | | | | | | | | | | | | | | | | In redirect application logic, (optionally) allow off-site redirects. | |||||
| * | | | ci: stop retrying "flaky" tests | Edward Thomson | 2022-01-13 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | We (thankfully) don't have flaky tests anymore, don't retry them. | |||||
| * | | | ci: use poxygit v0.5.1 | Edward Thomson | 2022-01-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | The new version of our test git server adds redirect support. Upgrade to it. | |||||
| * | | | remote: introduce `git_remote_connect_options`ethomson/remote_connect_opts | Edward Thomson | 2022-01-06 | 17 | -513/+609 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing mechanism for providing options to remote fetch/push calls, and subsequently to transports, is unsatisfactory. It requires an options structure to avoid breaking the API and callback signatures. 1. Introduce `git_remote_connect_options` to satisfy those needs. 2. Add a new remote connection API, `git_remote_connect_ext` that will take this new options structure. Existing `git_remote_connect` calls will proxy to that. `git_remote_fetch` and `git_remote_push` will proxy their fetch/push options to that as well. 3. Define the interaction between `git_remote_connect` and fetch/push. Connect _may_ be called before fetch/push, but _need not_ be. The semantics of which options would be used for these operations was not specified if you specify options for both connect _and_ fetch. Now these are defined that the fetch or push options will be used _if_ they were specified. Otherwise, the connect options will be used if they were specified. Otherwise, the library's defaults will be used. 4. Update the transports to understand `git_remote_connect_options`. This is a breaking change to the systems API. | |||||
| * | | | remote: improved error reporting | Edward Thomson | 2022-01-06 | 3 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | Several places in the remote code identify an error and then swallow it; return the error. | |||||
| * | | | push: don't try to connect in `finish` | Edward Thomson | 2022-01-06 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | Push starts by connecting, don't try to connect again, just rely on the existing connection existing. | |||||
| * | | | docs: document our API/ABI stability stance | Edward Thomson | 2022-01-06 | 1 | -0/+63 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #6179 from boretrk/flags | Edward Thomson | 2022-01-17 | 5 | -24/+24 | |
|\ \ \ | |/ / |/| | | c99: change single bit flags to unsigned | |||||
| * | | c99: change single bit flags to unsigned | Peter Pettersson | 2022-01-17 | 5 | -24/+24 | |
|/ / | ||||||
* | | Merge branch 'status' | Edward Thomson | 2022-01-06 | 6 | -16/+79 | |
|\ \ | ||||||
| * | | status: don't use `// ...` in tests, use `/* ... */` | Edward Thomson | 2022-01-06 | 1 | -5/+4 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'pr/6159' | Edward Thomson | 2022-01-06 | 6 | -1/+65 | |
| |\ \ | ||||||
| | * | | #6154 git_status_list_new case insensitive fix | Miguel Arroz | 2022-01-01 | 6 | -1/+64 | |
| | | | | ||||||
| * | | | status: don't use `// ...` in tests, use `/* ... */` | Edward Thomson | 2022-01-06 | 1 | -15/+15 | |
|/ / / | ||||||
* | | | Merge pull request #6165 from libgit2/ethomson/includeif | Edward Thomson | 2022-01-06 | 2 | -3/+39 | |
|\ \ \ | | | | | | | | | config: handle empty conditional in includeIf | |||||
| * | | | config: test allocation in config conditionalsethomson/includeif | Edward Thomson | 2022-01-05 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | config: handle empty conditional in includeIf | Edward Thomson | 2022-01-05 | 2 | -3/+37 | |
| |/ / | | | | | | | | | | | | | | | | When a config file contains `[includeIf]` (with no condition), we should treat that as a falsey value. This means that we should properly parse a config value of `includeIf.path`. | |||||
* | | | Merge pull request #6158 from arroz/feat/statusRenameThreshold | Edward Thomson | 2022-01-05 | 3 | -0/+72 | |
|\ \ \ | | | | | | | | | Add `rename_threshold` to `git_status_options`. | |||||
| * | | | Add `rename_threshold` to `git_status_options`. | Miguel Arroz | 2021-12-31 | 3 | -0/+72 | |
| |/ / | ||||||
| | * | Fix typos | Dimitris Apostolou | 2022-01-05 | 58 | -83/+83 | |
| |/ |/| | ||||||
* | | Merge pull request #6157 from boretrk/hmac_ctx_cleanup | Edward Thomson | 2022-01-04 | 1 | -1/+1 | |
|\ \ | |/ |/| | ntmlclient: fix linking with libressl | |||||
| * | ntmlclient: don't declare dummy HMAC_CTX_cleanup when building with libressl | Peter Pettersson | 2021-12-31 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #6150 from cestrand/patch-1 | Edward Thomson | 2021-12-24 | 1 | -2/+0 | |
|\ | | | | | Remove PSGit from Language Bindings section of README | |||||
| * | Remove PSGit from Language Bindings section of README | Marcin Kolenda | 2021-12-24 | 1 | -2/+0 | |
|/ | | | PSGit is not using libgit2 library. It is stub of a library and is not developed further. | |||||
* | Merge pull request #6148 from libgit2/ethomson/ci | Edward Thomson | 2021-12-24 | 1 | -1/+2 | |
|\ | | | | | ci: build with ssh on nightly | |||||
| * | ci: build with ssh on nightly | Edward Thomson | 2021-12-23 | 1 | -1/+2 | |
|/ | ||||||
* | Merge pull request #6147 from libgit2/ethomson/insteadof | Edward Thomson | 2021-12-23 | 1 | -34/+28 | |
|\ | | | | | remote: refactor insteadof application | |||||
| * | remote: refactor insteadof applicationethomson/insteadof | Edward Thomson | 2021-12-23 | 1 | -34/+28 | |
|/ | | | | | | | Using the insteadof helper would leak memory when we didn't really want the pushInsteadOf configuration. Refactor the choice into the function that allocates memory (or now, not) and use a more idiomatic `int` return code. | |||||
* | Merge branch 'pr/6062' | Edward Thomson | 2021-12-23 | 3 | -6/+34 | |
|\ | ||||||
| * | worktree: checkout options suggestions from code review | Edward Thomson | 2021-12-23 | 3 | -8/+8 | |
| | |