Re: [PATCH 0/2] handling alternates paths with colons

2 messages, 2 authors, 2016-12-13 · open the first message on its own page

Re: [PATCH 0/2] handling alternates paths with colons

From: Junio C Hamano <hidden>
Date: 2016-12-13 18:42:52

Jeff King [off-list ref] writes:
Right, but we also support relative paths via environment variables. I
don't think that changes the conclusion though. I'm not convinced
relative paths via the environment aren't slightly insane in the first
place,
Sorry, a triple negation is above my head.  "relative paths in env
aren't insane" == "using relative paths is OK" and you are not
convinced that it is the case, so you are saying that you think
relative paths in env is not something that is sensible?
given the discussion in 37a95862c (alternates: re-allow relative
paths from environment, 2016-11-07). And they'd probably start with
"../" as well.
Yeah.  In any case, there is a potential regression but the chance
is miniscule---the user has to have been using a relative path that
begins with a double-quote in the environment or in alternates file.

Re: [PATCH 0/2] handling alternates paths with colons

From: Jeff King <hidden>
Date: 2016-12-13 18:47:31

On Tue, Dec 13, 2016 at 10:42:39AM -0800, Junio C Hamano wrote:
Jeff King [off-list ref] writes:
quoted
Right, but we also support relative paths via environment variables. I
don't think that changes the conclusion though. I'm not convinced
relative paths via the environment aren't slightly insane in the first
place,
Sorry, a triple negation is above my head.  "relative paths in env
aren't insane" == "using relative paths is OK" and you are not
convinced that it is the case, so you are saying that you think
relative paths in env is not something that is sensible?
I think relative paths in env have very flaky semantics which makes them
inadvisable to use in general. That being said, when we broke even those
flaky semantics somebody complained. So I consider a feature we _do_
support, but not one I would recommend to people.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help