From: Nguyễn Thái Ngọc Duy Date: Fri, 13 Jun 2014 12:19:25 +0000 (+0700) Subject: read-cache: store in-memory flags in the first 12 bits of ce_flags X-Git-Tag: v2.1.0-rc0~45^2~26 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ce51bf09f8f0de70673b7cbdbc0e0df0b07e1def?ds=sidebyside;hp=ce51bf09f8f0de70673b7cbdbc0e0df0b07e1def read-cache: store in-memory flags in the first 12 bits of ce_flags We're running out of room for in-memory flags. But since b60e188 (Strip namelen out of ce_flags into a ce_namelen field - 2012-07-11), we copy the namelen (first 12 bits) to ce_namelen field. So those bits are free to use. Just make sure we do not accidentally write any in-memory flags back. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---