75 Commits (master)

Author SHA1 Message Date
Elijah Newren 623b80bef2 server-info.h: move declarations for server-info.c functions from cache.h 1 year ago
Elijah Newren 87bed17907 object-file.h: move declarations for object-file.c functions from cache.h 1 year ago
Elijah Newren 32a8f51061 environment.h: move declarations for environment.c functions from cache.h 1 year ago
Elijah Newren d5ebb50dcb wrapper.h: move declarations for wrapper.c functions from cache.h 1 year ago
Elijah Newren a6dc3d364c treewide: remove unnecessary cache.h inclusion from a few headers 1 year ago
Elijah Newren 41771fa435 cache.h: remove dependence on hex.h; make other files include it explicitly 1 year ago
Elijah Newren 36bf195890 alloc.h: move ALLOC_GROW() functions from cache.h 1 year ago
Ævar Arnfjörð Bjarmason 5cf88fd8b0 git-compat-util.h: use "UNUSED", not "UNUSED(var)" 2 years ago
Jeff King 63e14ee2d6 refs: mark unused each_ref_fn parameters 2 years ago
Ævar Arnfjörð Bjarmason 48ca53cac4 *.c static functions: add missing __attribute__((format)) 3 years ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 3 years ago
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 5 years ago
Eric Wong e941c48d49 server-info: do not list unlinked packs 5 years ago
Eric Wong f4f476b6a1 update-server-info: avoid needless overwrites 5 years ago
Jeff King b3223761c8 update_info_refs(): drop unused force parameter 5 years ago
Jeff King b9fb142eac server-info: drop objdirlen pointer arithmetic 5 years ago
Jeff King 79bb8b3c80 server-info: drop nr_alloc struct member 5 years ago
Jeff King 4ecbd6492c server-info: use strbuf to read old info/packs file 5 years ago
Jeff King 965cc517e5 server-info: simplify cleanup in parse_pack_def() 5 years ago
Jeff King b83a3089b5 server-info: fix blind pointer arithmetic 5 years ago
Derrick Stolee 454ea2e4d7 treewide: use get_all_packs 6 years ago
Stefan Beller a74093da5e tag: add repository argument to deref_tag 6 years ago
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 6 years ago
brian m. carlson 910710bb95 server-info: remove unused members from struct pack_info 6 years ago
Nguyễn Thái Ngọc Duy 464416a2ea packfile: keep prepare_packed_git() private 6 years ago
Stefan Beller 6fdb4e9f5a packfile: add repository argument to prepare_packed_git 6 years ago
Stefan Beller a80d72db2a object-store: move packed_git and packed_git_mru to object store 6 years ago
Jonathan Tan 0abe14f6a5 pack: move {,re}prepare_packed_git and approximate_object_count 7 years ago
Nguyễn Thái Ngọc Duy e9d983f116 wrapper.c: add and use fopen_or_warn() 7 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 7 years ago
René Scharfe fa1912c89a server-info: avoid calling fclose(3) twice in update_info_file() 7 years ago
René Scharfe 9ed0d8d6e6 use QSORT 8 years ago
Nguyễn Thái Ngọc Duy 02382f51b3 server-info.c: use error_errno() 8 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
Michael Haggerty e2b0bcdf4a add_info_ref(): rewrite to take an object_id argument 9 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 9 years ago
Jeff King d91175b212 update-server-info: create info/* with mode 0666 10 years ago
Jeff King 3907a4078a server-info: clean up after writing info/packs 10 years ago
Jeff King d38379ece9 make update-server-info more robust 10 years ago
Ralf Thielow c173dad587 update-server-info: Shorten read_pack_info_file() 14 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 15 years ago
Alex Riesen 691f1a28bf replace direct calls to unlink(2) with unlink_or_warn 15 years ago
Alex Riesen a4f34cbb4c Use git_pathdup instead of xstrdup(git_path(...)) 16 years ago
Jim Meyering 872c930dcb Don't access line[-1] for a zero-length "line" from fgets. 17 years ago
André Goddard Rosa 84ef033832 Print the real filename that we failed to open. 17 years ago
Johannes Schindelin 835252272e Fix core.sharedRepository = 2 17 years ago
Shawn O. Pearce 76f8a302c7 Don't coredump on bad refs in update-server-info. 18 years ago
Junio C Hamano 8da1977554 Tell between packed, unpacked and symbolic refs. 18 years ago
Junio C Hamano cb5d709ff8 Add callback data to for_each_ref() family. 18 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 18 years ago