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

Re: [BUG] git_path() returns relative paths

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:58:16

On Sun, Jul 28, 2013 at 3:49 PM, Ramkumar Ramachandra
[off-list ref] wrote:
Duy Nguyen wrote:
quoted
I think instead of letting the kernel walk the path, emacs does it by
itself.
If this were true, shouldn't we be able to reproduce the behavior with
my no-submodules symlink testcase?  How can it resolve symlinks in one
case, and not in the other case?
In the no-submodules symlink test case, the path given to the editor
is .git/COMMIT_EDITMSG, no following ".." back in the symlink target.
This bug can be reproduced without git involved:

mkdir z z/a z/b
echo ha >z/a/file
ln -s z/b
cd b
cat ../a/file
emacs ../a/file # fail to open 'file'
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help