Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH v3 0/8] Fix GIT_CEILING_DIRECTORIES that contain symlinks

From: Anders Kaseorg <hidden>
Date: 2016-06-15 22:56:12

Possibly related (same subject, not in this thread)

On Tue, 19 Feb 2013, Junio C Hamano wrote:
Assuming that this says "yes":

	D=/afs/athena.mit.edu/user/a/n/andersk/my/dir
        cd "$D"
        test "$(/bin/pwd)" = "$D" && echo yes
Correct.
Perhaps existing of an empty element in the list would do?  E.g.

	GIT_CEILING_DIRECTORIES=:/afs/athena.mit.edu/users/a/n/andesk

or something like that.  And in such a case, we do not run realpath on 
the elements on the list before comparing them with what we get from 
getcwd(3).
That seems reasonable, and has the advantage of backwards compatibility 
with versions before 1.8.1.2, I guess.

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