summaryrefslogtreecommitdiff
path: root/streaming.c
Commit message (Expand)AuthorAgeFilesLines
* streaming: inline call to read_object_file_extended()Jeff King2023-01-081-3/+8
* git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason2022-09-011-3/+3
* streaming: mark unused virtual method parametersJeff King2022-08-191-3/+3
* object-file.c: stop dying in parse_loose_header()Ævar Arnfjörð Bjarmason2021-10-011-1/+2
* object-file.c: return ULHR_TOO_LONG on "header too long"Ævar Arnfjörð Bjarmason2021-10-011-0/+1
* object-file.c: use "enum" return type for unpack_loose_header()Ævar Arnfjörð Bjarmason2021-10-011-10/+13
* object-file.c: simplify unpack_loose_short_header()Ævar Arnfjörð Bjarmason2021-10-011-1/+2
* object-file.c: make parse_loose_header_extended() publicÆvar Arnfjörð Bjarmason2021-10-011-1/+4
* streaming.c: move {open,close,read} from vtable to "struct git_istream"Ævar Arnfjörð Bjarmason2021-05-061-43/+29
* streaming.c: stop passing around "object_info *" to open()Ævar Arnfjörð Bjarmason2021-05-061-22/+20
* streaming.c: remove {open,close,read}_method_decl() macrosÆvar Arnfjörð Bjarmason2021-05-061-25/+22
* streaming.c: remove enum/function/vtbl indirectionÆvar Arnfjörð Bjarmason2021-05-061-25/+11
* streaming.c: avoid forward declarationsÆvar Arnfjörð Bjarmason2021-05-061-88/+83
* streaming: allow open_istream() to handle any repoMatheus Tavares2020-01-311-13/+15
* Merge branch 'jk/loose-object-cache-oid'Junio C Hamano2019-02-061-8/+8
|\
| * sha1-file: modernize loose header/stream functionsJeff King2019-01-081-6/+6
| * sha1-file: modernize loose object file functionsJeff King2019-01-081-2/+2
* | Merge branch 'sb/more-repo-in-api'Junio C Hamano2019-02-051-1/+1
|\ \ | |/ |/|
| * object-store: allow read_object_file_extended to read from any repoStefan Beller2018-11-141-1/+1
* | read_istream_pack_non_delta(): document input handlingJeff King2018-10-311-0/+9
|/
* cache.h: add repository argument to oid_object_info_extendedStefan Beller2018-04-261-1/+1
* replace-object: add repository argument to lookup_replace_objectStefan Beller2018-04-121-1/+1
* object-store: move lookup_replace_object to replace-object.hStefan Beller2018-04-121-0/+1
* Merge branch 'sb/object-store'Junio C Hamano2018-04-111-1/+4
|\
| * sha1_file: add repository argument to map_sha1_fileStefan Beller2018-03-261-1/+4
* | Convert lookup_replace_object to struct object_idbrian m. carlson2018-03-141-11/+5
* | sha1_file: convert read_sha1_file to struct object_idbrian m. carlson2018-03-141-1/+1
* | streaming: convert istream internals to struct object_idbrian m. carlson2018-03-141-6/+9
* | sha1_file: convert sha1_object_info* to object_idbrian m. carlson2018-03-141-1/+1
* | Convert remaining callers of sha1_object_info_extended to object_idbrian m. carlson2018-03-141-1/+4
* | streaming: convert open_istream to use struct object_idbrian m. carlson2018-03-141-3/+3
|/
* Merge branch 'jk/write-in-full-fix'Junio C Hamano2017-09-251-1/+1
|\
| * convert less-trivial versions of "write_in_full() != len"Jeff King2017-09-141-1/+1
* | pack: move use_pack()Jonathan Tan2017-08-231-0/+1
|/
* Merge branch 'jk/pack-objects-optim-mru'Junio C Hamano2016-10-101-1/+1
|\
| * provide an initializer for "struct object_info"Jeff King2016-08-111-1/+1
* | Merge branch 'jc/verify-loose-object-header'Junio C Hamano2016-10-031-6/+6
|\ \
| * | streaming: make sure to notice corrupt objectJunio C Hamano2016-09-261-6/+6
| |/
* | streaming: make stream_blob_to_fd take struct object_idbrian m. carlson2016-09-071-2/+2
|/
* Merge branch 'sb/plug-streaming-leak'Junio C Hamano2015-04-141-1/+4
|\
| * streaming.c: fix a memleaksb/plug-streaming-leakJohn Keeping2015-03-311-1/+4
* | open_istream(): do not dereference NULL in the error casejk/janitorial-fixesJunio C Hamano2014-02-181-1/+3
* | Merge branch 'ef/mingw-write'Junio C Hamano2014-01-271-1/+1
|\ \
| * | prefer xwrite instead of writeErik Faye-Lund2014-01-171-1/+1
* | | sha1_object_info_extended(): add an "unsigned flags" parameterChristian Couder2013-12-121-1/+1
|/ /
* | Merge branch 'jk/cat-file-batch-optim'Junio C Hamano2013-07-241-2/+2
|\ \
| * | Fix some sparse warningsRamsay Jones2013-07-181-1/+1
| * | sha1_object_info_extended: make type calculation optionalJeff King2013-07-121-1/+1
* | | open_istream: remove unneeded check for null pointerStefan Beller2013-07-231-1/+1
|/ /
* | zero-initialize object_info structsJeff King2013-07-071-1/+1