Merge branch 'ds/write-index-with-hashfile-api'
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 Jun 2021 04:33:26 +0000 (13:33 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jun 2021 04:33:26 +0000 (13:33 +0900)
commit0dd2fd18f80baa94d4518dc487e1dc790a59ebe2
tree1cf3212944ff676c193d948a70ec5dbc720f3256
parentf4f7304b443a52af9fdbbf15092516c061de4aeb
parentf6e2cd0625c8f15505a1bc11828b21490dff59e6
Merge branch 'ds/write-index-with-hashfile-api'

Use the hashfile API in the codepath that writes the index file to
reduce code duplication.

* ds/write-index-with-hashfile-api:
  read-cache: delete unused hashing methods
  read-cache: use hashfile instead of git_hash_ctx
  csum-file.h: increase hashfile buffer size
  hashfile: use write_in_full()