From: Felipe Contreras Date: Sun, 22 Feb 2009 18:38:10 GMT Subject: Re: [PATCH/RFC 5/6] builtin-tag: add sort by date -D Message-ID: <94a0d4530902221038j6614bfacl223c0fa7b7be396@mail.gmail.com> In-Reply-To: On Sun, Feb 22, 2009 at 8:06 PM, Marc-André Lureau wrote: > Signed-off-by: Marc-Andre Lureau > --- >  builtin-tag.c |  162 +++++++++++++++++++++++++++++++++++++++++++++------------ >  1 files changed, 129 insertions(+), 33 deletions(-) > > diff --git a/builtin-tag.c b/builtin-tag.c > index 01e7374..8ff9d03 100644 > --- a/builtin-tag.c > +++ b/builtin-tag.c > @@ -16,7 +16,7 @@ >  static const char * const git_tag_usage[] = { >        "git tag [-a|-s|-u ] [-f] [-m |-F ] []", >        "git tag -d ...", > -       "git tag -l [-n[]] []", > +       "git tag -l [-n[] -D] []", >        "git tag -v ...", >        NULL >  }; Hmm, the -D option is independent of -n, so "[-D]". Also, it must be documented. Wouldn't it make sense to split this patch so the first part adds the option to filter, even if there are not filters functional, and the second one adds the date filter? -- Felipe Contreras