Commit Graph

63 Commits (master)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 5cf88fd8b0 git-compat-util.h: use "UNUSED", not "UNUSED(var)" 1 month ago
Jeff King 9f5a9de7c8 streaming: mark unused virtual method parameters 2 months ago
Ævar Arnfjörð Bjarmason dccb32bf01 object-file.c: stop dying in parse_loose_header() 1 year ago
Ævar Arnfjörð Bjarmason 5848fb11ac object-file.c: return ULHR_TOO_LONG on "header too long" 1 year ago
Ævar Arnfjörð Bjarmason 3b6a8db3b0 object-file.c: use "enum" return type for unpack_loose_header() 1 year ago
Ævar Arnfjörð Bjarmason 01cab97679 object-file.c: simplify unpack_loose_short_header() 1 year ago
Ævar Arnfjörð Bjarmason ddb3474b66 object-file.c: make parse_loose_header_extended() public 1 year ago
Ævar Arnfjörð Bjarmason d4e2d15a8b streaming.c: move {open,close,read} from vtable to "struct git_istream" 1 year ago
Ævar Arnfjörð Bjarmason de94c0eace streaming.c: stop passing around "object_info *" to open() 1 year ago
Ævar Arnfjörð Bjarmason bc062ad001 streaming.c: remove {open,close,read}_method_decl() macros 1 year ago
Ævar Arnfjörð Bjarmason 0d9af06e36 streaming.c: remove enum/function/vtbl indirection 1 year ago
Ævar Arnfjörð Bjarmason b65528360f streaming.c: avoid forward declarations 1 year ago
Matheus Tavares c8123e72f6 streaming: allow open_istream() to handle any repo 3 years ago
Jeff King 00a7760e81 sha1-file: modernize loose header/stream functions 4 years ago
Jeff King 514c5fdd03 sha1-file: modernize loose object file functions 4 years ago
Stefan Beller a3b72c89bd object-store: allow read_object_file_extended to read from any repo 4 years ago
Jeff King 0afbe3e806 read_istream_pack_non_delta(): document input handling 4 years ago
Stefan Beller 7ecd869060 cache.h: add repository argument to oid_object_info_extended 5 years ago
Stefan Beller 1f2e7ceabc replace-object: add repository argument to lookup_replace_object 5 years ago
Stefan Beller 47f351e9b3 object-store: move lookup_replace_object to replace-object.h 5 years ago
Stefan Beller e35454fa62 sha1_file: add repository argument to map_sha1_file 5 years ago
brian m. carlson b383a13cc0 Convert lookup_replace_object to struct object_id 5 years ago
brian m. carlson b4f5aca40e sha1_file: convert read_sha1_file to struct object_id 5 years ago
brian m. carlson 575042a04f streaming: convert istream internals to struct object_id 5 years ago
brian m. carlson abef9020e3 sha1_file: convert sha1_object_info* to object_id 5 years ago
brian m. carlson 7984f23833 Convert remaining callers of sha1_object_info_extended to object_id 5 years ago
brian m. carlson ef7b5195f1 streaming: convert open_istream to use struct object_id 5 years ago
Jeff King 564bde9ae6 convert less-trivial versions of "write_in_full() != len" 5 years ago
Jonathan Tan 84f80ad5e1 pack: move use_pack() 5 years ago
Junio C Hamano 97026fe9a6 streaming: make sure to notice corrupt object 6 years ago
brian m. carlson 7eda0e4fbb streaming: make stream_blob_to_fd take struct object_id 6 years ago
Jeff King 27b5c1a065 provide an initializer for "struct object_info" 6 years ago
John Keeping 9ce4ad3e0e streaming.c: fix a memleak 8 years ago
Junio C Hamano 78368f2c1a open_istream(): do not dereference NULL in the error case 9 years ago
Erik Faye-Lund 7edc02f4de prefer xwrite instead of write 9 years ago
Christian Couder de7b5d6218 sha1_object_info_extended(): add an "unsigned flags" parameter 9 years ago
Stefan Beller 6a907786af open_istream: remove unneeded check for null pointer 9 years ago
Ramsay Jones d099b7173d Fix some sparse warnings 9 years ago
Jeff King 5b0864070e sha1_object_info_extended: make type calculation optional 9 years ago
Jeff King 7c07385d90 zero-initialize object_info structs 9 years ago
Jeff King 692f0bc7ae avoid infinite loop in read_istream_loose 10 years ago
Jeff King 42e7e2a534 read_istream_filtered: propagate read error from upstream 10 years ago
Jeff King 45d4bdae59 stream_blob_to_fd: detect errors reading from stream 10 years ago
Nguyễn Thái Ngọc Duy 754980d023 pack-objects, streaming: turn "xx >= big_file_threshold" to ".. > .." 11 years ago
René Scharfe 6163cd8a2a streaming: void pointer instead of char pointer 11 years ago
Junio C Hamano 47a02ff2ca streaming: make streaming-write-entry to be more reusable 11 years ago
Jeff King 95dea6eb50 streaming: free git_istream upon closing 11 years ago
Junio C Hamano b6691092d7 Add streaming filter API 12 years ago
Junio C Hamano 4ae6670444 stream filter: add "no more input" to the filters 12 years ago
Junio C Hamano 93aa7bd595 streaming: read loose objects incrementally 12 years ago