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

Re: [PATCH] add strcpy_user_path() and use it in init-db.c and git.c

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 24, 2005, 19:50 UTC
Message-ID
<20051224195033.GE3963@mail.yhbt.net>
In-Reply-To
<7virtes6zd.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> Eric Wong <normalperson@yhbt.net> writes:
> 
> > Hint: build git with: make 'prefix=~'
> 
> Sorry, I do not see why you would want to do this.  I understand
> "make prefix=~" or "make prefix=$HOME", but "make prefix='~'"
> and expanding tilde and friends at runtime you need to justify
> why it helps in which situation.
> 
> We are not DOS and do not do argument expansion shell should
> have done for us ourselves.

My home directories have different names on different machines I'm on, and I want to avoid having to recompile git for each one. I don't have root access to some of them, so installing globally in /usr or /usr/local isn't an option, either.

-- 
Eric Wong
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “add strcpy_user_path() and use it in init-db.c and git.c”
  1. add strcpy_user_path() and use it in init-db.c and git.cEric Wong, Dec 24, 2005
  2. Junio C HamanoDec 24, 2005
  3. Eric WongDec 24, 2005
  4. Junio C HamanoDec 24, 2005
  5. Eric WongDec 24, 2005
  6. Johannes SchindelinDec 26, 2005
  7. Eric WongDec 30, 2005

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.