Re: [PATCH] git-format-patch: Don't number patches when there's only one

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andreas Ericsson <ae@...>
Cc: <git@...>, <spearce@...>
Date: Monday, October 22, 2007 - 6:22 am

Hi,

On Mon, 22 Oct 2007, Andreas Ericsson wrote:


Why not have something as simple as

	numbered=
	test $(git rev-list $options | wc -l) -gt 1 && numbered=-n

	[...]

	git format-patch $numbered $options

At the moment, the semantics of "--numbered" is really clear and precise.  
And I really like that.  It makes for less surprises.

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:
Re: [PATCH] git-format-patch: Don't number patches when ther..., Johannes Schindelin, (Mon Oct 22, 5:44 am)
Re: [PATCH] git-format-patch: Number patches when there are ..., Johannes Schindelin, (Sat Nov 3, 12:31 pm)
Re: [PATCH] git-format-patch: Number patches when there are ..., Johannes Schindelin, (Sat Nov 3, 8:25 pm)
Re: [PATCH] git-format-patch: Don't number patches when ther..., Johannes Schindelin, (Mon Oct 22, 6:22 am)