git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Jeff KingNext: Jeff King
Message 7 of 15 in “bash completion: Add completion for 'git help'”
  1. bash completion: Add completion for 'git help'Lee Marlow, Jul 23, 2008
  2. bash completion: Add completion for 'git help'Lee Marlow, Jul 24, 2008
  3. Shawn O. PearceJul 25, 2008
  4. Junio C HamanoJul 25, 2008
  5. fetch refspec foo/* matches foo*Jeff King, Jul 26, 2008
  6. Jeff KingJul 26, 2008
  7. Johannes SchindelinJul 26, 2008
  8. Jeff KingJul 28, 2008
  9. Junio C HamanoJul 28, 2008
  10. Jeff KingJul 28, 2008
  11. Junio C HamanoJul 27, 2008
  12. make sure parsed wildcard refspec ends with slashJunio C Hamano, Jul 27, 2008
  13. Daniel BarkalowJul 27, 2008
  14. Jeff KingJul 28, 2008
  15. bash completion: Add completion for 'git help'Lee Marlow, Jul 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.