cache.h: put single NUL at end of struct cache_entry
authorRené Scharfe <redacted>
Tue, 25 Oct 2011 18:00:04 +0000 (20:00 +0200)
committerJunio C Hamano <redacted>
Wed, 26 Oct 2011 22:25:59 +0000 (15:25 -0700)
commitee7825b58cd423ea63a215c59fc2b7c7a2878af5
tree82c35b627d677305bbe7f78c78aaca791a1f9a08
parentdebed2a6291a29fd7b0e96f63fbf0142ed3280eb
cache.h: put single NUL at end of struct cache_entry

Since in-memory index entries are allocated individually now, the
variable slack at the end meant to provide an eight byte alignment
is not needed anymore.  Have a single NUL instead.  This saves zero
to seven bytes for an entry, depending on its filename length.

Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
cache.h
git clone https://git.99rst.org/PROJECT