Re: [PATCH 1/1] mingw: handle absolute paths in expand_user_path()
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 8, 2018, 15:46 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1811081645280.39@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqmuqj7hiv.fsf@gitster-ct.c.googlers.com>
Hi Junio,
On Thu, 8 Nov 2018, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > But now I have a really crazy idea: how about ~~/ssl/certs/ca-bundle.crt? > > The `~` prefix is *already* a reserved character,... > > We would need to prepare for a future where we need yet another > special thing to be expanded, and it will quickly become cryptic if > you said "~/ is HOME, ~USER/ is USER's HOME, ~~/ is runtime prefix, > and ~~~/ is this new thing...". ~runtime_prefix~/ (i.e. carve out > the namespace for USERNAME by reserving any names that ends with a > tilde) may be a viable way to do this, though. It is just as good > as your other idea, <runtime_prefix>, in an earlier message.
Indeed. Your "cryptic" matches my "unintuitive".
Ciao, Dscho