diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-12-13 08:14:47 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-13 10:12:25 -0800 |
commit | 4a6385fe555f810e8168399df673d00addffb721 (patch) | |
tree | 3a737450f654dbd3c206d1c7f4da500628d91cb3 /t/t556x_common | |
parent | index-v4: document the entry format (diff) | |
download | tgif-4a6385fe555f810e8168399df673d00addffb721.tar.xz |
index-format.txt: clarify what is "invalid"
A cache-tree entry with a negative entry count is considered invalid
by the current Git; it records that we do not know the object name
of a tree that would result by writing the directory covered by the
cache-tree as a tree object.
Clarify that any entry with a negative entry count is invalid, but
the implementations must write -1 there. This way, we can later
decide to allow writers to use negative values other than -1 to
encode optional information on such invalidated entries without
harming interoperability; we do not know what will be encoded and
how, so we keep these other negative values as reserved for now.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t556x_common')
0 files changed, 0 insertions, 0 deletions