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: Junio C Hamano
Date: Sunday, June 22, 2008 - 6:45 pm

Pierre Habouzit <madcoder@debian.org> writes:


Note that I was just saying "not necessarily" in response to "the only
right way" to point out it is not the _only_ way.

Parse-options has been done in a tablish way and it would involve cost to
modify it in a way I outlined (even if such a rewrite would make chaining
different set of option parsers easier, as each parser needs to handle
only what it knows about and handling aggregation and stuff would become
trivial).  I do not know if it is worth the cost, and I am not married to
the option parser structure that diff and revision part uses.

--
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 ..., 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)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Junio C Hamano, (Sun Jun 22, 6:45 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors ..., Johannes Schindelin, (Mon Jun 23, 1:24 pm)