Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Pass hostkey & port to host verify callback" | Edward Thomson | 2023-02-27 | 1 | -11/+3 |
| | | | | This reverts commit f68b40c0af9c7c5c2c8740fe4a8fbcba367e0087. | ||||
* | 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. | ||||
| * | README: clarify the linking exception | Edward Thomson | 2023-02-20 | 1 | -4/+5 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #6493 from libgit2/ethomson/ownership | Edward Thomson | 2023-02-20 | 2 | -7/+43 |
|\ \ | |/ |/| | Handle Win32 shares | ||||
| * | repo: support safe.directory with %(prefix)/ | Edward Thomson | 2023-02-20 | 1 | -6/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/...`). | ||||
| * | repo: don't fail on strange win32 paths | Edward Thomson | 2023-02-18 | 2 | -1/+4 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #6492 from cavaquinho/fix/bare-repo-oid-type | Edward Thomson | 2023-02-20 | 2 | -23/+51 |
|\ \ | |/ |/| | #6491: Sets oid_type on repos open with git_repository_open_bare | ||||
| * | Deleted unused variable. | Miguel Arroz | 2023-02-17 | 1 | -1/+0 |
| | | |||||
| * | #6491: Sets oid_type on repos open with git_repository_open_bare | Miguel Arroz | 2023-02-17 | 2 | -22/+51 |
|/ | |||||
* | Merge pull request #6487 from libgit2/ethomson/strarray-deprecate | Edward Thomson | 2023-02-16 | 1 | -0/+1 |
|\ | | | | | stash: update strarray usage | ||||
| * | stash: update strarray usage | Edward Thomson | 2023-02-16 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #6330 from gitkraken-jacobw/partial-stashing | Edward Thomson | 2023-02-16 | 4 | -32/+302 |
|\ | | | | | stash: partial stash specific files | ||||
| * | stash: fixes from code review | Edward Thomson | 2023-02-16 | 2 | -57/+38 |
| | | |||||
| * | stash: test save options init | Jacob Watson | 2022-07-14 | 1 | -0/+5 |
| | | |||||
| * | stash: add `const` to arguments | Jacob Watson | 2022-07-14 | 2 | -5/+7 |
| | | |||||
| * | stash: better option validation for stash save | Jacob Watson | 2022-07-14 | 1 | -6/+17 |
| | | |||||
| * | stash: implement CI testing | Jacob Watson | 2022-07-14 | 1 | -0/+37 |
| | | |||||
| * | stash: implement partial stashing by path | Jacob Watson | 2022-07-14 | 2 | -26/+260 |
| | | |||||
* | | Merge pull request #6486 from libgit2/ethomson/strarray-deprecate | Edward Thomson | 2023-02-16 | 5 | -14/+28 |
|\ \ | |||||
| * | | strarray: remove deprecated declaration | Edward Thomson | 2023-02-16 | 5 | -14/+28 |
|/ / | | | | | | | | | | | `git_strarray_copy` is deprecated (and has been included in `deprecated.h` for some time). It should not have remained in the public `strarray.h`. Remove it. | ||||
* | | Merge pull request #6480 from libgit2/ethomson/warn | Edward Thomson | 2023-02-15 | 3 | -4/+5 |
|\ \ | | | | | | | Fix some warnings in main | ||||
| * | | tests: use static scope for test data | Edward Thomson | 2023-02-15 | 2 | -3/+3 |
| | | | |||||
| * | | socket: mark flags as unused | Edward Thomson | 2023-02-15 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #6479 from libgit2/ethomson/clone | Edward Thomson | 2023-02-15 | 1 | -1/+1 |
|\ \ | | | | | | | clone: clean up options on failure | ||||
| * | | clone: clean up options on failure | Edward Thomson | 2023-02-14 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #6456 from libgit2/ethomson/sha256_experimental | Edward Thomson | 2023-02-14 | 196 | -530/+5143 |
|\ \ | | | | | | | SHA256: more SHA256 support | ||||
| * | | ci: build our own git on xenial | Edward Thomson | 2023-02-13 | 1 | -2/+14 |
| | | | | | | | | | | | | The git included with xenial is ancient, and lacks sha256 support. | ||||
| * | | win32: adjust max path length for SHA256 | Edward Thomson | 2023-02-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The longest path within a git repository is now a SHA256 format packfile. Adjust our max length checking to match. | ||||
| * | | cmake: support older cmakes | Edward Thomson | 2023-02-13 | 1 | -1/+1 |
| | | | |||||
| * | | ci: actually build sha256 support on linux | Edward Thomson | 2023-02-12 | 1 | -1/+1 |
| | | | |||||
| * | | clone: free connect opts | Edward Thomson | 2023-02-12 | 2 | -0/+9 |
| | | | |||||
| * | | repo: take an oid_type when initializing | Edward Thomson | 2023-02-12 | 2 | -3/+24 |
| | | | |||||
| * | | repo: dump backends on oid type change | Edward Thomson | 2023-02-12 | 1 | -1/+18 |
| | | |