161 Commits (c792d7b6cebe302d6e0377d9d983608309bcd775)

Author SHA1 Message Date
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Johannes Schindelin 0898c96281 fetch: release pack files before garbage-collecting 9 years ago
Johannes Schindelin ea56518dfe Handle more file writes correctly in shared repos 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
brian m. carlson f4e54d02b8 Convert struct ref to use object_id. 9 years ago
Jeff King 6f687c21c0 use alloc_ref rather than hand-allocating "struct ref" 9 years ago
Jeff King bd22d4ffbc transport: use strbufs for status table "quickref" strings 9 years ago
Jeff King 2805bb5970 fetch: replace static buffer with xstrfmt 10 years ago
Heiko Voigt 027771fcb1 submodule: allow erroneous values for the fetchRecurseSubmodules option 10 years ago
Jeff King f932729cc7 memoize common git-path "constant" files 10 years ago
Michael Haggerty bc598c32ae get_remote_group(): use skip_prefix() 10 years ago
Michael Haggerty 5f65499fa2 get_remote_group(): eliminate superfluous call to strcspn() 10 years ago
Michael Haggerty e286542de0 get_remote_group(): rename local variable "space" to "wordlen" 10 years ago
Michael Haggerty c26f7d7b26 get_remote_group(): handle remotes with single-character names 10 years ago
Michael Haggerty a087b432a7 prune_refs(): use delete_refs() 10 years ago
Michael Haggerty 0e0b7de4c7 builtin/fetch: rewrite to take an object_id argument 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
Michael Haggerty 1d147bdff0 ref_transaction_update(): remove "have_old" parameter 10 years ago
Дилян Палаузов 5d308512ff do not include the same header twice 10 years ago
Nguyễn Thái Ngọc Duy dcf692625a path.c: make get_pathname() call sites return const char * 10 years ago
Jeff King 72549dfd5d fetch: load all default config at startup 10 years ago
Ronnie Sahlberg cd94f76572 fetch.c: change s_update_ref to use a ref transaction 10 years ago
Nguyễn Thái Ngọc Duy 6fceed3bea fetch: silence git-gc if --quiet is given 11 years ago
Nguyễn Thái Ngọc Duy 1991006cb9 fetch: convert argv_gc_auto to struct argv_array 11 years ago
Jeff King b2724c8787 use xstrfmt to replace xmalloc + strcpy/strcat 11 years ago
Junio C Hamano c5558f80c3 fetch: allow explicit --refmap to override configuration 11 years ago
Elia Pinto bf7e645c90 builtin/fetch.c: reduce scope of variable 11 years ago
Tom Miller 10a6cc8890 fetch --prune: Run prune before fetching 11 years ago
Tom Miller 4b3b33a747 fetch --prune: always print header url 11 years ago
Nguyễn Thái Ngọc Duy 48d25cae22 fetch: add --update-shallow to accept refs that update .git/shallow 11 years ago
Nguyễn Thái Ngọc Duy 4820a33baa fetch: support fetching from a shallow repository 11 years ago
Nguyễn Thái Ngọc Duy 5594bcad21 clone,fetch: catch non positive --depth option value 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Michael Haggerty b9afe6654d ref_remove_duplicates(): simplify loop logic 11 years ago
Michael Haggerty 90765fa3e0 fetch, remote: properly convey --no-prune options to subprocesses 11 years ago
Michael Haggerty 0838bf47b3 fetch --prune: prune only based on explicit refspecs 11 years ago
Michael Haggerty c5a84e92a2 fetch --tags: fetch tags *in addition to* other stuff 11 years ago
Michael Haggerty 0281c930f1 fetch: only opportunistically update references based on command line 11 years ago
Michael Haggerty a0fbb5a329 builtin/fetch.c: reorder function definitions 11 years ago
Michael Haggerty f137a45e0d get_ref_map(): rename local variables 11 years ago
Brad King 9bbb0fa1fd refs: report ref type from lock_any_ref_for_update 12 years ago
Ramsay Jones 0f73f8bd79 builtin/fetch.c: Fix a sparse warning 12 years ago
Junio C Hamano b26ed4305f fetch: work around "transport-take-over" hack 12 years ago
Junio C Hamano 069d503202 fetch: refactor code that fetches leftover tags 12 years ago
Junio C Hamano db5723c628 fetch: refactor code that prepares a transport 12 years ago
Junio C Hamano af23445925 fetch: rename file-scope global "transport" to "gtransport" 12 years ago
Stefan Beller d5d09d4754 Replace deprecated OPT_BOOLEAN by OPT_BOOL 12 years ago
Michael Schubert 737c5a9cde fetch: make --prune configurable 12 years ago
Michael Haggerty f83918edcb add_existing(): do not retain a reference to sha1 12 years ago