Commit Graph

68 Commits (master)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 5cf88fd8b0 git-compat-util.h: use "UNUSED", not "UNUSED(var)" 4 weeks ago
Jeff King 63e14ee2d6 refs: mark unused each_ref_fn parameters 1 month ago
Ævar Arnfjörð Bjarmason 48ca53cac4 *.c static functions: add missing __attribute__((format)) 1 year ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 2 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 3 years ago
Eric Wong e941c48d49 server-info: do not list unlinked packs 3 years ago
Eric Wong f4f476b6a1 update-server-info: avoid needless overwrites 3 years ago
Jeff King b3223761c8 update_info_refs(): drop unused force parameter 4 years ago
Jeff King b9fb142eac server-info: drop objdirlen pointer arithmetic 4 years ago
Jeff King 79bb8b3c80 server-info: drop nr_alloc struct member 4 years ago
Jeff King 4ecbd6492c server-info: use strbuf to read old info/packs file 4 years ago
Jeff King 965cc517e5 server-info: simplify cleanup in parse_pack_def() 4 years ago
Jeff King b83a3089b5 server-info: fix blind pointer arithmetic 4 years ago
Derrick Stolee 454ea2e4d7 treewide: use get_all_packs 4 years ago
Stefan Beller a74093da5e tag: add repository argument to deref_tag 4 years ago
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 4 years ago
brian m. carlson 910710bb95 server-info: remove unused members from struct pack_info 4 years ago
Nguyễn Thái Ngọc Duy 464416a2ea packfile: keep prepare_packed_git() private 5 years ago
Stefan Beller 6fdb4e9f5a packfile: add repository argument to prepare_packed_git 5 years ago
Stefan Beller a80d72db2a object-store: move packed_git and packed_git_mru to object store 5 years ago
Jonathan Tan 0abe14f6a5 pack: move {,re}prepare_packed_git and approximate_object_count 5 years ago
Nguyễn Thái Ngọc Duy e9d983f116 wrapper.c: add and use fopen_or_warn() 5 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 5 years ago
René Scharfe fa1912c89a server-info: avoid calling fclose(3) twice in update_info_file() 6 years ago
René Scharfe 9ed0d8d6e6 use QSORT 6 years ago
Nguyễn Thái Ngọc Duy 02382f51b3 server-info.c: use error_errno() 6 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 7 years ago
Michael Haggerty e2b0bcdf4a add_info_ref(): rewrite to take an object_id argument 7 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 7 years ago
Jeff King d91175b212 update-server-info: create info/* with mode 0666 8 years ago
Jeff King 3907a4078a server-info: clean up after writing info/packs 8 years ago
Jeff King d38379ece9 make update-server-info more robust 8 years ago
Ralf Thielow c173dad587 update-server-info: Shorten read_pack_info_file() 12 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 14 years ago
Alex Riesen 691f1a28bf replace direct calls to unlink(2) with unlink_or_warn 14 years ago
Alex Riesen a4f34cbb4c Use git_pathdup instead of xstrdup(git_path(...)) 14 years ago
Jim Meyering 872c930dcb Don't access line[-1] for a zero-length "line" from fgets. 15 years ago
André Goddard Rosa 84ef033832 Print the real filename that we failed to open. 15 years ago
Johannes Schindelin 835252272e Fix core.sharedRepository = 2 15 years ago
Shawn O. Pearce 76f8a302c7 Don't coredump on bad refs in update-server-info. 16 years ago
Junio C Hamano 8da1977554 Tell between packed, unpacked and symbolic refs. 16 years ago
Junio C Hamano cb5d709ff8 Add callback data to for_each_ref() family. 16 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 16 years ago
Linus Torvalds 1974632c66 Remove TYPE_* constant macros and use object_type enums consistently. 16 years ago
Pavel Roskin addf88e455 Assorted typo fixes 16 years ago
Linus Torvalds 885a86abe2 Shrink "struct object" a bit 17 years ago
Junio C Hamano 8ac4838af4 server-info: skip empty lines. 17 years ago
Junio C Hamano 21b1aced83 objects/info/packs: work around bug in http-fetch.c::fetch_indices() 17 years ago
Junio C Hamano 2dee581667 qsort(): ptrdiff_t may be larger than int 17 years ago
Junio C Hamano 9cebe90bc5 server-info.c: and two functions are not used anymore. 17 years ago