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

Re: [PATCH] config --get --path: check for unset $HOME

From
JCJulien Cristau <jcristau@debian.org>
Date
Jul 26, 2010, 15:33 UTC
Message-ID
<20100726153310.GK12476@radis.liafa.jussieu.fr>
In-Reply-To
<20100726150651.GA4021@burratino>
On Mon, Jul 26, 2010 at 10:06:51 -0500, Jonathan Nieder wrote:
Show 14 quoted lines
> If $HOME is unset (as in some automated build situations),
> currently
> 
> 	git config --path path.home "~"
> 	git config --path --get path.home
> 
> segfaults.  Error out with
> 
> 	Failed to expand user dir in: '~/'
> 
> instead.
> 
> Reported-by: Julien Cristau <jcristau@debian.org>
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Tested-by: Julien Cristau <jcristau@debian.org>
Thanks!

Cheers, Julien

Previous: Jonathan NiederNext: Ævar Arnfjörð Bjarmason
Message 2 of 5 in “config --get --path: check for unset $HOME”
  1. config --get --path: check for unset $HOMEJonathan Nieder, Jul 26, 2010
  2. Julien CristauJul 26, 2010
  3. Ævar Arnfjörð BjarmasonJul 26, 2010
  4. Jonathan NiederJul 26, 2010
  5. Ævar Arnfjörð BjarmasonJul 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.