Re: [PATCH] Expand ~ and ~user in core.excludesfile, commit.template
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Nov 18, 2009, 07:24 UTC
- Message-ID
- <vpq7hto70sw.fsf@bauges.imag.fr>
- In-Reply-To
- <7v8we4er0t.fsf@alter.siamese.dyndns.org>
Show 6 quoted lines
> Andreas Schwab <schwab@linux-m68k.org> writes: > >> Mike Hommey <mh@glandium.org> writes: >> >> "~" should just expand to the value of $HOME, like in the shell, >> independent of the real home directory of the real or effective user.
Right, I'll resend in a minute.
Junio C Hamano <gitster@pobox.com> writes:
> How should this interact with installations that run gitosis/gitlite that > use shared account, giving user identity via the ssh key?
I guess there's some kind of rhetorical question behind that I missed, but if a gitosis-like installation uses the user git, and the user foo connects to it identifier by its SSH key, I don't see what you could do other than expanding ~ to the homedir of git, which is $HOME at the time your run git on the server.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/