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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Jeff King <peff@...>, Shawn Bohrer <shawn.bohrer@...>, <git@...>, <madcoder@...>
Date: Wednesday, June 18, 2008 - 12:50 pm

Hi,

On Tue, 17 Jun 2008, Junio C Hamano wrote:


AFAIR Pierre tried a few ways, and settled with a macro to introduce the 
diff options into a caller's options.

IOW it would look something like this:

static struct option builtin_what_options[] = {
	[... options specific to this command ...]
	DIFF__OPT(&diff_options)
};

Ciao,
Dscho

--
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, 11:03 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors fo..., Johannes Schindelin, (Wed Jun 18, 12:50 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors fo..., Johannes Schindelin, (Sun Jun 22, 3:07 pm)
Re: [PATCH 1/2] parse_options: Add flag to prevent errors fo..., Johannes Schindelin, (Mon Jun 23, 4:24 pm)
[PATCH 2/2] git shortlog: Modify to use parse_options, Shawn Bohrer, (Tue Jun 17, 11:03 pm)