]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack: write object IDs of the proper length
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 18 Aug 2019 20:04:18 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c