60 Commits (728af2832c3e58222965521682414adb9a80932b)

Author SHA1 Message Date
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
René Scharfe e510ab8988 use pop_commit() for consuming the first entry of a struct commit_list 9 years ago
Tobias Klauser 4b7c50a184 shallow: remove unused #include "sigchain.h" 9 years ago
Jeff King f932729cc7 memoize common git-path "constant" files 10 years ago
Michael Haggerty 6e122b449b setup_temporary_shallow(): use tempfile module 10 years ago
Michael Haggerty b4fb09e4da lockfile: add accessor get_lock_file_path() 10 years ago
Michael Haggerty 580b04ef98 shallow: rewrite functions to take object_id arguments 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
brian m. carlson 7683e2e6e3 commit: convert parts to struct object_id 10 years ago
Junio C Hamano 167832c2ca shallow.c: make check_shallow_file_for_update() static 10 years ago
Jeff King 8c53f0719b use xstrdup_or_null to replace ternary conditionals 10 years ago
Etienne Buira 0f4b6db3ba Handle atexit list internaly for unthreaded builds 10 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 10 years ago
Michael Haggerty cf6950d3bf lockfile: change lock_file::filename into a strbuf 10 years ago
René Scharfe 2756ca4347 use REALLOC_ARRAY for changing the allocation size of arrays 10 years ago
Karsten Blees 6aa3085702 trace: improve trace performance 11 years ago
Jeff King 7839632167 shallow: verify shallow file after taking lock 11 years ago
Jeff King 0179c945fc shallow: automatically clean up shallow tempfiles 11 years ago
Jeff King 0cc77c386c shallow: use stat_validity to check for up-to-date file 11 years ago
Ramsay Jones feefdf62c1 shallow: remove unused code 11 years ago
Nguyễn Thái Ngọc Duy eab3296c7e prune: clean .git/shallow after pruning objects 11 years ago
Nguyễn Thái Ngọc Duy 0a1bc12b6e receive-pack: allow pushes that update .git/shallow 11 years ago
Nguyễn Thái Ngọc Duy 069c053222 add GIT_SHALLOW_FILE to propagate --shallow-file to subprocesses 11 years ago
Nguyễn Thái Ngọc Duy 79d3a236c5 upload-pack: make sure deepening preserves shallow roots 11 years ago
Nguyễn Thái Ngọc Duy 8e277383e0 shallow.c: steps 6 and 7 to select new commits for .git/shallow 11 years ago
Nguyễn Thái Ngọc Duy 58babfffde shallow.c: the 8 steps to select new commits for .git/shallow 11 years ago
Nguyễn Thái Ngọc Duy 1a30f5a2f2 shallow.c: extend setup_*_shallow() to accept extra shallow commits 11 years ago
Nguyễn Thái Ngọc Duy ad491366de make the sender advertise shallow commits to the receiver 11 years ago
Jeff King 367068e0dd use parse_commit_or_die instead of custom message 11 years ago
Nguyễn Thái Ngọc Duy 08ea65ad13 shallow: add setup_temporary_shallow() 12 years ago
Nguyễn Thái Ngọc Duy 6a3bbb4db4 shallow: only add shallow graft points to new shallow file 12 years ago
Nguyễn Thái Ngọc Duy 3125fe528b move setup_alternate_shallow and write_shallow_commits to shallow.c 12 years ago
Matthijs Kooijman 4b796951ff upload-pack: remove a piece of dead code 12 years ago
Nguyễn Thái Ngọc Duy 6035d6aad8 fetch-pack: prepare updated shallow file before fetching the pack 12 years ago
Nguyễn Thái Ngọc Duy 682c7d2f1a upload-pack: fix off-by-one depth calculation in shallow clone 12 years ago
Thiago Farina 3cd474599f object.h: Add OBJECT_ARRAY_INIT macro and make use of it. 15 years ago
Martin Koegler dec38c8165 check return value from parse_commit() in various functions 17 years ago
Martin Koegler affeef12fb deref_tag: handle return value NULL 17 years ago
Junio C Hamano a6080a0a44 War on whitespace 18 years ago
Junio C Hamano f43117a6c1 is_repository_shallow(): prototype fix. 18 years ago
Alexandre Julliard d64d6c9fc7 get_shallow_commits: Avoid memory leak if a commit has been reached already. 18 years ago
Alexandre Julliard abef3a1625 Shallow clone: do not ignore shallowness when following tags 18 years ago
Johannes Schindelin f53514bc2d allow deepening of a shallow repository 18 years ago
Johannes Schindelin ed09aef06f support fetching into a shallow repository 18 years ago