On Mon, Feb 11, 2008 at 5:28 PM, Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> wrote: > + 4 byte version number: > + The current version is 2 The version could be 3 if extended flags are used. > + A 16-bit field split into (high to low bits) > + > + 1-bit assume-valid flag > + > + 1-bit update-needed flag I think this bit is CE_EXTENDED, an indication that this entry has extended flags > + > + 2-bit stage (during merge) > + > + 12-bit name length A 16-bit field additional flags (high to low bits), only applicable to version 3 1-bit reserved for future 1-bit skip-worktree flag 1-bit intent-to-add flag (aka "git add -N") > + - Extensions > + > + The only know index extension today is a tree cache. There's also "REUC" extension from read-cache.c. I personally have never touched it, so no comments. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html