summaryrefslogtreecommitdiff
path: root/src/libgit2/index.c
Commit message (Collapse)AuthorAgeFilesLines
* index: add sha256 supportEdward Thomson2023-04-101-117/+316
|
* filebuf: configurable hash typeEdward Thomson2023-04-081-4/+8
| | | | | | `git_filebuf` hashes contents as its written; allow for SHA1 or SHA256 as that hash. Currently, most callers simply use SHA1 as they do not yet know about SHA256 themselves.
* index: support `git_index_add_all` directories with forceEdward Thomson2023-03-021-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.
* Remove unused wditer variableYuriy Chernyshov2023-02-281-2/+0
| | | Found this randomly while debugging #6517
* sha256: indirection for experimental functionsEdward Thomson2022-07-131-2/+2
| | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
* oid: give oids a typeEdward Thomson2022-06-201-6/+8
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE`Edward Thomson2022-06-141-3/+3
| | | | | In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
* index: use raw oid dataEdward Thomson2022-04-101-6/+6
| | | | | The index contains entries with raw oid data, use a byte array for the raw entry data.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+3765