Re: approxidate parsing for bad time units

2012-09-10 Thread Jeffrey Middleton
, then yes, I agree, it'd be tricky to catch it in the general case without breaking things. (Levenshtein distance to the target strings instead of exact matching, I guess, so that it could say "did you mean..." like for misspelled commands.) On Fri, Sep 7, 2012 at 6:54 AM, Jeff King wro

Re: approxidate parsing for bad time units

2012-09-06 Thread Jeffrey Middleton
git rev-list --since=5.dyas.ago` is silently the same as `git rev-list --since=4.days.ago`. So I do think it's worth improving. (Yes, I know, send patches; I'll think about it.) On Thu, Sep 6, 2012 at 1:36 PM, Junio C Hamano wrote: > Jeffrey Middleton writes: > >> In tellin