Re: [PATCH] Extend index to save more flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/2/08, Junio C Hamano <gitster@xxxxxxxxx> wrote:> Nguyễn Thái Ngọc Duy  <pclouds@xxxxxxxxx> writes:>>  > The on-disk format of index only saves 16 bit flags, nearly all have>  > been used. The last bit (CE_EXTENDED) is used to for future extension.>  >>  > This patch extends index entry format to save more flags in future.>  > The new entry format will be used when CE_EXTENDED bit is 1.>  >>  > Because older implementation may not understand CE_EXTENDED bit and>  > misread the new format, if there is any extended entry in index, index>  > header version will turn 3, which makes it incompatible for older git.>  > If there is none, header version will return to 2 again.>>> I think this is a good change.
Just don't apply it now. There is a bug in die() code for unknownflags. I'll resend with narrow checkout series, which will also be atest case for these change.-- Duy��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux