Re: [bug report] git-am applying maildir patches in reverse
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 1, 2013, 23:24 UTC
- Message-ID
- <7vlia6em9x.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130301230508.GC862@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> On Fri, Mar 01, 2013 at 05:52:31PM -0500, Jeff King wrote:
> ...
>> The maildir spec explicitly says that readers should not make
>> assumptions about the content of the filenames. Mutt happens to write
>> them as:
>>
>> ${epoch_seconds}.${pid}_${seq}.${host}
>>
>> so in practice, sorting them kind of works. Except that ...
>> << it does not work >> ...
> That ordering is not necessarily useful.
> ...
> So it is somewhat against the maildir spec, but I think in practice it
> would help.I do not think it would help, unless these epoch_seconds are the sender timestamps. And the number of digits in epoch-seconds for recent messages would be the same, so ordering textually would be sufficient if ordering by timestamp were.