matthiasblaesing commented on issue #1528: [NETBEANS-519] Update jgit
URL: https://github.com/apache/netbeans/pull/1528#issuecomment-536083485
 
 
   Some more info: the problem seems to be, that the behavior of jgit regarding 
symlinks (and their normalization) changed. The Filter that is applied in 
`org.netbeans.libs.git.jgit.commands.MoveTreeCommand.run()` (line 88) does not 
exist in the git repository and thus the file can't be removed from the index. 
We would need to parse the path manually and resolve all symlinks.
   
   The CLI git client has a very simple solution, it just fails ....
   
   ```
   
matthias@athena:~/src/netbeans/ide/libs.git/build/test/unit/work/o.n.l.g.j.c.R/testMoveFromSymlinkFolder/testMoveFromSymlinkFolder_wc$
 git mv folder/folder/file tgt/file
   fatal: not under version control, source=folder/folder/file, 
destination=tgt/file
   
matthias@athena:~/src/netbeans/ide/libs.git/build/test/unit/work/o.n.l.g.j.c.R/testMoveFromSymlinkFolder/testMoveFromSymlinkFolder_wc$
 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to