]> git.ipfire.org Git - thirdparty/git.git/commit
dir: make untracked cache extension hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:23 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:39 +0000 (11:57 +0900)
commit3899b88b49c03ae76f8834a277cbd45bc6bde830
tree6aba42f49df11ed55baf63d980eac912bab09e30
parentebe4df59c45ea95ce51fd8fede2a08d9009e990f
dir: make untracked cache extension hash size independent

Instead of using a struct with a flex array member to read and write the
untracked cache extension, use a shorter, fixed-length struct and add
the name and hash data explicitly.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c