Re: [PATCH] init: handle empty "template" parameter, was Re: fetch refspec foo/* matches foo*
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 26, 2008, 13:13 UTC
- Message-ID
- <alpine.DEB.1.00.0807261511490.26810@eeepc-johanness>
- In-Reply-To
- <20080726083356.GB10104@sigill.intra.peff.net>
Hi,
On Sat, 26 Jul 2008, Jeff King wrote:
> Also, while I have your attention, Junio, here is another bug fix > that should go into 1.6.0. I posted the patch as a "how about this" deep > in a thread and got no response (which means no complaints, right?).
Again it is in a thread...
> This patch just checks for that condition in copy_templates > and aborts. As a side effect, this means that --template= > now has the meaning "don't copy any templates."
I deem this patch obviously correct, and your reasoning as to what an empty parameter should mean makes sense.
Ciao, Dscho