Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | | ||||||
| * | | transport: teach transports about oid types and SHA256 | Edward Thomson | 2023-02-12 | 13 | -83/+298 | |
| | | | ||||||
| * | | clone: support sha256 | Edward Thomson | 2023-02-12 | 7 | -34/+173 | |
| | | | ||||||
| * | | revparse: don't assume SHA1 | Edward Thomson | 2023-02-12 | 1 | -6/+13 | |
| | | | ||||||
| * | | refdb: teach filesystem refdb about sha256 | Edward Thomson | 2023-02-12 | 3 | -48/+78 | |
| | | | ||||||
| * | | object: lookup sha256 objects | Edward Thomson | 2023-02-12 | 29 | -174/+961 | |
| | | | | | | | | | | | | | | | This is much of the plumbing for the object database to support SHA256, and for objects to be able to parse SHA256 versions of themselves. | |||||
| * | | odb: test sha256 pack backend | Edward Thomson | 2023-02-12 | 2 | -0/+252 | |
| | | | ||||||
| * | | packfile: handle sha256 packfiles | Edward Thomson | 2023-02-12 | 17 | -155/+412 | |
| | | | | | | | | | | | | Teach the packfile machinery to cope with SHA256. | |||||
| * | | odb: rename test file to avoid underscore | Edward Thomson | 2023-02-12 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | In clar, an underscore is meaningful; avoid using it incorrectly / unnecessarily. | |||||
| * | | tests: add a sha256 repository | Edward Thomson | 2023-02-12 | 117 | -0/+2569 | |
| | | | | | | | | | | | | This is a conversion of the testrepo.git to SHA256 support. | |||||
| * | | ci: run sha256 builds during our nightly runs | Edward Thomson | 2023-02-12 | 1 | -1/+31 | |
| | | | ||||||
| * | | tests: helpers for getting ints from configuration | Edward Thomson | 2023-02-12 | 2 | -0/+22 | |
| | | | ||||||
| * | | repo: don't overwrite repo format version on reinit | Edward Thomson | 2023-02-12 | 2 | -15/+42 | |
| | | | | | | | | | | | | | | | Ensure that we maintain the `core.repositoryFormatVersion` value instead of always overwriting it with the default. | |||||
| * | | repo: internal setter for `objectformat` | Edward Thomson | 2023-02-12 | 2 | -0/+38 | |
| | | | | | | | | | | | | | | | Provide an internal function to set the repository's `objectformat`, both in the internal object and in the configuration. | |||||
| * | | repo: understand the `objectformat` extension | Edward Thomson | 2023-02-12 | 5 | -11/+132 | |
| | | | | | | | | | | | | | | | | | | Teach the repository about the `objectformat` extension, supporting `sha1` always and `sha256` when the experimental sha256 support is active. | |||||
| * | | oid: provide type lookups by enum value or name | Edward Thomson | 2023-02-09 | 2 | -0/+60 | |
| | | | ||||||
* | | | Merge pull request #6455 from libgit2/ethomson/sysdir | Edward Thomson | 2023-02-14 | 27 | -455/+772 | |
|\ \ \ | | | | | | | | | Support the notion of a home directory separately from global configuration directory | |||||
| * | | | Set all SSH hostkey preferences that are available | Eric Huss | 2023-02-09 | 1 | -43/+42 | |
| | | | |