Re: [PATCH] Allow testing of _relative family of time formatting and parsing functions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 29, 2009, 21:46 UTC
- Message-ID
- <7vk50mz41e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20090828205232.GD9233@blimp.localdomain>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 17 quoted lines
> To complement the testability of approxidate. > --- > Alex Riesen, Fri, Aug 28, 2009 21:33:02 +0200: >> >> It should allow safe testing of this part of the code. > > And this should really allow testing of it: > > $ ./test-date '10.days.ago' > 10.days.ago -> bad -> Thu Jan 1 01:00:00 1970 > 10.days.ago -> Tue Aug 18 22:50:20 2009 > > relative: 10.days.ago -> Fri Dec 22 12:00:00 1989 > > relative: 10 days ago, out of Fri Dec 22 12:00:00 1989 > > $
What are these blank lines for? Is this intended as a serious submission for inclusion? I am having a hrad time to guess, especially you did not sign this off, nor Cc'ed me.