author | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 Aug 2008 06:02:08 +0000 (23:02 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 Aug 2008 07:22:45 +0000 (00:22 -0700) | ||
commit | 16ce2e4c8f9664f8ec5ae2bffed34d093d83a4d3 | |
tree | 3365a094d0ccd07b4bf1b2ea072ea11e63d9ff01 | tree | snapshot |
parent | 053fd0c1c3da20474c4ff175c56ea4c1d6eeda11 | commit | diff |
index: future proof for "extended" index entries
We do not have any more bits in the on-disk index flags word, but we would
need to have more in the future. Use the last remaining bits as a signal
to tell us that the index entry we are looking at is an extended one.
Since we do not understand the extended format yet, we will just error out
when we see it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We do not have any more bits in the on-disk index flags word, but we would
need to have more in the future. Use the last remaining bits as a signal
to tell us that the index entry we are looking at is an extended one.
Since we do not understand the extended format yet, we will just error out
when we see it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
read-cache.c | diff | blob | history |