[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] [GSoC] Designing a faster index format - Progress report week 13
- From: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx>
- Date: Sun, 22 Jul 2012 17:22:17 +0200
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120717 Thunderbird/15.0
A note on how JGit would work here. Java has none of the fields
that constitute statcrc. I guess we would write zero here when
creating new entries. Git could recognize that when checking status and
simply assume "clean" unless mtime or st_size says otherwise.
For existing entries JGit could either keep the old value (which is
probably a lie since) or zero it.
A modification to the spec would be that 0 == not set.