Commit Graph

60 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 63e14ee2d6 refs: mark unused each_ref_fn parameters 1 month ago
Jeff King 45a187cc34 lookup_unknown_object(): take a repository argument 1 year ago
René Scharfe 7655b4119d remote-curl: show progress for fetches over dumb HTTP 3 years ago
Jeff King 667b76ec58 walker_fetch(): avoid raw array length computation 3 years ago
Jeff King 0ebbcf70e6 object: convert lookup_unknown_object() to use object_id 3 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 4 years ago
Stefan Beller 21e1ee8f4f commit: add repository argument to lookup_commit_reference_gently 4 years ago
Stefan Beller f86bcc7b2c tree: add repository argument to lookup_tree 4 years ago
Stefan Beller da14a7ff99 blob: add repository argument to lookup_blob 4 years ago
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 4 years ago
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 4 years ago
Martin Ågren 0b6b342954 walker: drop fields of `struct walker` which are always 1 5 years ago
Derrick Stolee 2e27bd7731 treewide: replace maybe_tree with accessor methods 5 years ago
Derrick Stolee 891435d55d treewide: rename tree to maybe_tree 5 years ago
Brandon Williams debca9d2fe object: rename function 'typename' to 'type_name' 5 years ago
brian m. carlson 89f3bbdd3b refs: update ref transactions to use struct object_id 5 years ago
brian m. carlson 94f5a121d4 walker: convert to struct object_id 5 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 5 years ago
brian m. carlson 740ee055c6 Convert lookup_tree to struct object_id 5 years ago
brian m. carlson 3aca1fc6c9 Convert lookup_blob to struct object_id 5 years ago
brian m. carlson bc83266abe Convert lookup_commit* to struct object_id 5 years ago
Jeff King fa262cac76 walker: let walker_say take arbitrary formats 6 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 7 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 7 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 7 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 7 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 7 years ago
brian m. carlson f4e54d02b8 Convert struct ref to use object_id. 7 years ago
Jeff King 2b87d3a896 drop strcpy in favor of raw sha1_to_hex 7 years ago
Michael Haggerty b4ebaf9eea mark_complete(): 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
Michael Haggerty 1d147bdff0 ref_transaction_update(): remove "have_old" parameter 8 years ago
Jeff King 8c53f0719b use xstrdup_or_null to replace ternary conditionals 8 years ago
Ronnie Sahlberg db7516ab9f refs.c: pass the ref log message to _create/delete/update instead of _commit 8 years ago
René Scharfe 2756ca4347 use REALLOC_ARRAY for changing the allocation size of arrays 8 years ago
Ronnie Sahlberg b6b10bb44c walker.c: use ref transaction for ref updates 8 years ago
René Scharfe 3bc7a05b1a walker: avoid quadratic list insertion in mark_complete 8 years ago
Jeff King f33206992d walker_fetch: fix minor memory leak 8 years ago
Nguyễn Thái Ngọc Duy 208acbfb82 object.h: centralize object flag allocation 9 years ago
Jeff King 6e454b9a31 clear parsed flag when we free tree buffers 9 years ago
Michael Haggerty 8d9c50105f Change check_ref_format() to take a flags argument 11 years ago
Thiago Farina 47e44ed1dc commit: Add commit_list prefix in two function names. 12 years ago
Pierre Habouzit 24deea5273 janitor: useless checks before free 13 years ago
Junio C Hamano ba19a808aa Drop double-semicolon in C 14 years ago
René Scharfe 59c69c0c65 make alloc_ref_from_str() the new alloc_ref() 14 years ago
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 14 years ago
Jeff King 541fc218e6 Fix "git clone http://$URL" to check out the worktree when asked 15 years ago
Krzysztof Kowalczyk 737922aa64 alloc_ref_from_str(): factor out a common pattern of alloc_ref from string 15 years ago
Daniel Barkalow c13b2633f4 Make walker.fetch_ref() take a struct ref. 15 years ago