Re: [PATCH] doc: technical details about the index file format

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

 



On Thu, Sep 2, 2010 at 4:50 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Alex Riesen <raa.lkml@xxxxxxxxx> writes:
>
>>> +  32-bit ctime seconds, the last time a file's metadata changed
>>> +    this is stat(2) data
>>> +
>>> +  32-bit ctime nanoseconds (modulo 1G)
>>> +    this is stat(2) data
>>
>> Maybe I'm missing something, but I failed to find where "modulo 1G" comes from.
>
> I think the above wants to say "seconds and sub-seconds are stored in
> separate fields, and latter is purely sub-seconds, never reaching nor
> exceeding a whole second" (gig == 10^-9) times nano (== 10^+9) is 1).
>
> I personally do not think it is a good idea to say " (modulo 1G)" there;
> it is more confusing than without.
>

Perhaps "nanosecond fractions" would be a simple and precise description?
--
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


[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]