Re: [PATCH 1/2] parse_options: Add flag to prevent errors for further processing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Tuesday, June 17, 2008 - 8:30 pm

On Tue, Jun 17, 2008 at 08:21:50PM -0700, Junio C Hamano wrote:


Agreed. I was just about to write the same thing. As it happens, I think
in the case of git-shortlog that there is not likely to be such a
parameter. The only three I see looking over setup_revisions are "-n"
(which is masked by shortlog anyway), "--default", and "-U" (which one
would never need with shortlog).

However I am still opposed to the concept, since its presence as a
parseopt flag implies that it isn't fundamentally broken.

I think the only right way to accomplish this is to convert the revision
and diff parameters into a parseopt-understandable format.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] convert shortlog to use parse_options, Shawn Bohrer, (Tue Jun 17, 8:03 pm)
[PATCH 2/2] git shortlog: Modify to use parse_options, Shawn Bohrer, (Tue Jun 17, 8:03 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Jeff King, (Tue Jun 17, 8:30 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Johannes Schindelin, (Wed Jun 18, 9:50 am)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Pierre Habouzit, (Sun Jun 22, 10:07 am)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Johannes Schindelin, (Sun Jun 22, 12:07 pm)