Re: [PATCH/WIP v2 02/14] read-cache: new extension to mark what file is watched
- From
Thomas Rast <tr@thomasrast.ch>
- Date
- Jan 19, 2014, 17:06 UTC
- Message-ID
- <87fvojewaf.fsf@thomasrast.ch>
- In-Reply-To
- <1389952060-12297-3-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 7 quoted lines
> If an entry is "watched", git lets an external program decide if the > entry is modified or not. It's more like --assume-unchanged, but > designed to be controlled by machine. > > We are running out of on-disk ce_flags, so instead of extending > on-disk entry format again, "watched" flags are in-core only and > stored as extension instead.
I wonder if this would be a good use-case for EWAH bitmaps? Presumably most users would end up having only a few large ranges of files that are being watched. Quite possibly most users would watch *all* files.
-- Thomas Rast tr@thomasrast.ch