builtin/repack: write object IDs of the proper length
authorbrian m. carlson <redacted>
Sun, 18 Aug 2019 20:04:18 +0000 (20:04 +0000)
committerJunio C Hamano <redacted>
Mon, 19 Aug 2019 22:04:58 +0000 (15:04 -0700)
commitdd336a55113a62789f039e382387d0407abaf922
tree47e1dd2bcdd77d822737c7ee57ec11e785b4b3ba
parent894c0f66bb21189d0677be6ecb9923b6acfbf437
builtin/repack: write object IDs of the proper length

Use the_hash_algo when calling xwrite with a hex object ID so that the
proper amount of data is written.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repack.c
git clone https://git.99rst.org/PROJECT