Merge branch 'jk/test-hashmap-updates' into jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 20:46:41 +0000 (12:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Feb 2018 20:46:42 +0000 (12:46 -0800)
commit82b2606f10fc01e47d1d04fede38787a69bf004c
treedc664ed886bb7a9732541c3ea2cdfc0a84796f2f
parent5fedd4aea9d730b4d77fde098d2207e83e203d0a
parenta6119f82b118c7adea9ede0b3813810b06e37668
Merge branch 'jk/test-hashmap-updates' into jch

Code clean-up.

* jk/test-hashmap-updates:
  test-hashmap: use "unsigned int" for hash storage
  test-hashmap: simplify alloc_test_entry
  test-hashmap: use strbuf_getline rather than fgets
  test-hashmap: use xsnprintf rather than snprintf
  test-hashmap: check allocation computation for overflow
  test-hashmap: use ALLOC_ARRAY rather than bare malloc