]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'en/strmap'
authorJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 23:14:38 +0000 (15:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 23:14:38 +0000 (15:14 -0800)
A specialization of hashmap that uses a string as key has been
introduced.  Hopefully it will see wider use over time.

* en/strmap:
  shortlog: use strset from strmap.h
  Use new HASHMAP_INIT macro to simplify hashmap initialization
  strmap: take advantage of FLEXPTR_ALLOC_STR when relevant
  strmap: enable allocations to come from a mem_pool
  strmap: add a strset sub-type
  strmap: split create_entry() out of strmap_put()
  strmap: add functions facilitating use as a string->int map
  strmap: enable faster clearing and reusing of strmaps
  strmap: add more utility functions
  strmap: new utility functions
  hashmap: provide deallocation function names
  hashmap: introduce a new hashmap_partial_clear()
  hashmap: allow re-use after hashmap_free()
  hashmap: adjust spacing to fix argument alignment
  hashmap: add usage documentation explaining hashmap_free[_entries]()

1  2 
Makefile
blame.c
diff.c
dir.c
object.c
ref-filter.c
sequencer.c

diff --cc Makefile
Simple merge
diff --cc blame.c
Simple merge
diff --cc diff.c
Simple merge
diff --cc dir.c
Simple merge
diff --cc object.c
Simple merge
diff --cc ref-filter.c
Simple merge
diff --cc sequencer.c
Simple merge