43 Commits (0d7131763e7762dc34c407f32e3c63123001a292)

Author SHA1 Message Date
René Scharfe ca56dadb4b use CALLOC_ARRAY 4 years ago
Jeff King c9e3a4e76d patch-ids: handle duplicate hashmap entries 4 years ago
Martin Ågren bc62692757 hash-lookup: rename from sha1-lookup 4 years ago
Elijah Newren 6da1a25814 hashmap: provide deallocation function names 4 years ago
Eric Wong 404ab78e39 hashmap: remove type arg from hashmap_{get,put,remove}_entry 6 years ago
Eric Wong c8e424c9c9 hashmap: introduce hashmap_free_entries 6 years ago
Eric Wong 939af16eac hashmap_cmp_fn takes hashmap_entry params 6 years ago
Eric Wong f23a465132 hashmap_get{,_from_hash} return "struct hashmap_entry *" 6 years ago
Eric Wong b6c5241606 hashmap_get takes "const struct hashmap_entry *" 6 years ago
Eric Wong b94e5c1df6 hashmap_add takes "struct hashmap_entry *" 6 years ago
Eric Wong d22245a2e3 hashmap_entry_init takes "struct hashmap_entry *" 6 years ago
Jeff King d40abc8e95 hashmap: convert sha1hash() to oidhash() 6 years ago
Stephen Boyd a8f6855f48 format-patch: make --base patch-id output stable 6 years ago
Nguyễn Thái Ngọc Duy a7edadda59 patch-ids.c: remove implicit dependency on the_index 7 years ago
Nguyễn Thái Ngọc Duy e675765235 diff.c: remove implicit dependency on the_index 7 years ago
Jeff King cc00e5ce6b convert hashmap comparison functions to oideq() 7 years ago
Brandon Williams 0d1e0e7801 diff: make struct diff_flags members lowercase 7 years ago
Brandon Williams 23dcf77f48 diff: remove DIFF_OPT_SET macro 7 years ago
Stefan Beller 8d0017daa1 patch-ids.c: drop hashmap_cmp_fn cast 8 years ago
Stefan Beller 3da492f808 patch-ids.c: use hashmap correctly 8 years ago
Stefan Beller 7663cdc86c hashmap.h: compare function has access to a data field 8 years ago
Brandon Williams 66f414f885 diff-tree: convert diff_tree_sha1 to struct object_id 8 years ago
Brandon Williams 7b8dea0c75 tree-diff: convert diff_root_tree_sha1 to struct object_id 8 years ago
Brandon Williams bd25f28876 diff: convert diff_flush_patch_id to struct object_id 8 years ago
Brandon Williams 34f3c0ebfb patch-ids: convert to struct object_id 8 years ago
Johannes Schindelin 5748693b91 add_commit_patch_id(): avoid allocating memory unnecessarily 8 years ago
brian m. carlson cd02599c48 Convert GIT_SHA1_RAWSZ used for allocation to GIT_MAX_RAWSZ 8 years ago
Jeff King 7c81040792 patch-ids: refuse to compute patch-id for merge commit 9 years ago
Jeff King 5a29cbc6e9 patch-ids: turn off rename detection 9 years ago
Kevin Willford b3dfeebb92 rebase: avoid computing unnecessary patch IDs 9 years ago
Kevin Willford 3e8e32c32e patch-ids: add flag to create the diff patch id using header only data 9 years ago
Kevin Willford 683f17ec44 patch-ids: replace the seen indicator with a commit pointer 9 years ago
Kevin Willford dfb7a1b4d0 patch-ids: stop using a hand-rolled hashmap implementation 9 years ago
Xiaolong Ye ded2c097ba patch-ids: make commit_patch_id() a public helper function 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
Dmitry S. Dolzhenko 104fb26a1e patch-ids.c: use ALLOC_GROW() in add_commit() 11 years ago
Thomas Rast 28452655af diff_setup_done(): return void 13 years ago
Christian Couder 5289bae17f patch-ids: use the new generic "sha1_pos" function to lookup sha1 16 years ago
Pierre Habouzit 8f67f8aefb Make the diff_options bitfields be an unsigned with explicit masks. 18 years ago
Junio C Hamano 5d23e133d2 Refactor patch-id filtering out of git-cherry and git-format-patch. 18 years ago