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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:15

Eric Wong [off-list ref] 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.

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

From: Eric Wong <hidden>
Date: 2016-06-15 22:42:15

Junio C Hamano [off-list ref] wrote:
Eric Wong [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help