summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove unused apiyuangli2022-08-111-14/+0
|
* support fetch unshallow option on shallow reposyuangli2022-08-094-18/+43
|
* fix memory leakyuangli2022-08-091-0/+2
|
* fix build warningyuangli2022-08-021-1/+1
|
* fix grafts and shallowarray memory leaksyuangli2022-08-025-14/+10
|
* attempt to fix nego.shallowarray memory leakyuangli2022-08-023-0/+11
|
* fix memory leakyuangli2022-08-021-0/+2
|
* refactor git_fetch_option.depth and usageyuangli2022-08-021-1/+8
|
* fix memory leaks about packetsyuangli2022-08-012-0/+6
|
* fix clone::shallow test behaviouryuangli2022-07-291-2/+0
|
* eliminate build warningsyuangli2022-07-295-15/+18
|
* remove build errorsyuangli2022-07-295-122/+14
|
* Merge branch 'transportPR' into shallow-clone-networkyuangli2022-07-2913-29/+404
|\
| * enable cloning of shallow repoyuangli2022-07-191-1/+2
| |
| * rewrite shallow_rootyuangli2022-07-071-23/+87
| |
| * attempt to buildyuangli2022-07-051-73/+75
| |
| * Merge branch 'pr/tiennou/4747' into transportPRyuangli2022-07-0412-26/+328
| |
* | Merge branch 'mw_dev' into shallow-clone-localYuang Li2022-07-2963-486/+1012
|\ \
| * | unset GIT_RAND_GETENTROPY to avoid linux GLIBC issues (#3)Yuang Li2022-07-261-1/+5
| | |
| * | sha256: indirection for experimental functionsEdward Thomson2022-07-1330-58/+211
| | | | | | | | | | | | | | | The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
| * | Merge pull request #6191 from libgit2/ethomson/sha256_pocEdward Thomson2022-07-1363-492/+863
| |\ \ | | | | | | | | RFC: SHA256 proof of concept
| | * | sha256: make sha256 an experimental optional featureEdward Thomson2022-06-2011-21/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libgit2 can be built with optional, experimental sha256 support. This allows consumers to begin testing and providing feedback for our sha256 support while we continue to develop it, and allows us to make API breaking changes while we iterate on a final sha256 implementation. The results will be `git2-experimental.dll` and installed as `git2-experimental.h` to avoid confusion with a production libgit2.
| | * | meta: generated `features.h` is now `git2_features.h`Edward Thomson2022-06-206-11/+7
| | | | | | | | | | | | | | | | | | | | Linux has a /usr/include/features.h, which gets confusing; update this to `git2_features.h` and move it into the `util` directory.
| | * | odb_loose: SHA256 support for loose object storageEdward Thomson2022-06-202-44/+59
| | | | | | | | | | | | | | | | Teach the loose object database how to cope with SHA256 objects.
| | * | oid: add git_oid_fmt_substrEdward Thomson2022-06-202-25/+36
| | | | | | | | | | | | | | | | Tidy up `nfmt` / `pathfmt`.
| | * | odb: add git_odb_loose_backend_optionsEdward Thomson2022-06-202-27/+38
| | | | | | | | | | | | | | | | Move the arguments to `git_odb_loose` into an options structure.
| | * | odb: accept an oid type in optionsEdward Thomson2022-06-202-16/+25
| | | | | | | | | | | | | | | | | | | | Allow the object database to take an oid type that it supports. This oid type will be used to validate the objects that the backends provide.
| | * | odb: add git_odb_optionsEdward Thomson2022-06-203-5/+23
| | | | | | | | | | | | | | | | | | | | Users will need to be able to specify the object id type for the given object database; add a new `git_odb_options` with that option.
| | * | odb_hash*: accept the oid type to hash intoEdward Thomson2022-06-2010-45/+91
| | | | | | | | | | | | | | | | | | | | The git_odb_hash helper functions should not assume SHA1, and instead should be given the oid type that they're producing.
| | * | oid: provide an oid type to hash type mapEdward Thomson2022-06-201-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | We intentionally separate oid types from hash types; a hash is a generic hunk of bytes, an object id has meaning and backs an object on disk. As a result of this separation, we need a 1:1 mapping.
| | * | oid: add sha256 typed oidsEdward Thomson2022-06-201-0/+4
| | | |
| | * | oid: give oids a typeEdward Thomson2022-06-2036-108/+216
| | | | | | | | | | | | | | | | | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
| | * | object: move oid header printing to objectEdward Thomson2022-06-145-14/+26
| | | |
| | * | object: move oid header parsing to objectEdward Thomson2022-06-145-31/+40
| | | |
| | * | oid: add functions to inspect oid informationEdward Thomson2022-06-141-0/+20
| | | | | | | | | | | | | | | | | | | | Provide helper functions to provide information about the object id size given its type.
| | * | oid: define GIT_OID_SHA1_ZEROEdward Thomson2022-06-147-12/+12
| | | | | | | | | | | | | | | | | | | | Callers should not assume the layout of the oid structure; provide them a macro that defines the null / zero sha1 object id.
| | * | oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE`Edward Thomson2022-06-1443-238/+238
| | | | | | | | | | | | | | | | | | | | In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ` need to indicate that they're the size of _SHA1_ OIDs.
* | | | rename function assign_parents_from_graftyuangli2022-07-281-2/+2
| | | |
* | | | refactor commit parent assignment with graftyuangli2022-07-281-15/+21
| | | |
* | | | fix load_graftsyuangli2022-07-281-0/+7
| | | |
* | | | improve error handlingyuangli2022-07-283-11/+7
| | | |
* | | | eliminate build warningsyuangli2022-07-274-10/+11
| | | |
* | | | fix build errorsyuangli2022-07-263-3/+3
| | | |
* | | | Merge branch 'pr/pks-t/5254' into shallow-clone-localyuangli2022-07-266-5/+359
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | fix graft assertionYuang Li2022-06-281-1/+1
| | |
| * | correct use of feature flagYuang Li2022-06-282-20/+19
| | |
| * | disable shallow clone support by defaultYuang Li2022-06-281-1/+1
| | |
| * | correct naming of feature flagYuang Li2022-06-271-1/+1
| | |
| * | use shallow feature flag in shallow clone support source codeYuang Li2022-06-272-17/+23
| | |
| * | move feature flag tests to tests/grafts/shallow.cYuang Li2022-06-271-0/+1
| | |