[prev in list] [next in list] [prev in thread] [next in thread] 

List:       password-store
Subject:    [pass] [bug] git add failing if file is below symlink
From:       Daniel Lublin <daniel () lublin ! se>
Date:       2016-11-08 11:52:57
Message-ID: 20161108115257.GA10808 () ot ! lublin ! se
[Download RAW message or body]

Since we now support keeping symlinks down in the pass tree (tree(1)
output refinements were corrected for this case), I guess this must be a
bug.

When doing `pass edit` on a file that resides below a symlink, I'm getting:

  fatal: pathspec '/home/me/.password-store/foo-symlink/bar.gpg' is beyond a symbolic link

I think the solution is to resolve any symlinks in the `git_add_files()`
function. Of course, the use may do all kinds of sneaky things using these
symlinks, so resolving needs to be done with care hmmm.

_______________________________________________
Password-Store mailing list
Password-Store@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/password-store
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic