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

Re: [PATCH] Having keywords without value is not a global error.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 26, 2010, 05:57 UTC
Message-ID
<7vljegczes.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.2.00.1002261838360.8597@vqena.qenxr.bet.am>
Steven Drake <sdrake@xnet.co.nz> writes:
Show 7 quoted lines
>> >  	if (!strcmp(k, "init.templatedir"))
>> >  		return git_config_pathname(&init_db_template_dir, k, v);
>> 
>> But then don't you need to catch init.templatedir does have a string
>> value?
>
> Yes, but the change dose not touch that test,...
Ahh, config_pathname() does its own check for NULLness, Ok, I forgot.
Thanks.
Previous: Steven DrakeNext: Alex Riesen
Message 5 of 7 in “Having keywords without value is not a global error.”
  1. Having keywords without value is not a global error.Steven Drake, Feb 26, 2010
  2. t/t0001-init.sh: add test for 'init with init.templatedir set'Steven Drake, Feb 26, 2010
  3. Junio C HamanoFeb 26, 2010
  4. Steven DrakeFeb 26, 2010
  5. Junio C HamanoFeb 26, 2010
  6. Alex RiesenFeb 26, 2010
  7. Steven DrakeFeb 26, 2010

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.