This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244102

Summary: git does not restore symbolic links properly
Product: versioncontrol Reporter: xkr
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED DUPLICATE    
Severity: normal CC: git
Priority: P2    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description xkr 2014-04-27 09:42:32 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.11.10-7-desktop running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = OpenJDK 64-Bit Server VM 24.45-b08

When cloning git repository that contains symbolic links (into linux/ext4 filesystem), netbeans git does not restore sym link(s) properly - but creates ordinary file with link point to location inside.
Further when the link points to some directory with source files also managed by git, the git clone is confused and tries to remove some files in target directory because - it seems - the link is not present in filesystem.
Comment 1 xkr 2014-04-27 09:42:37 UTC
Created attachment 146965 [details]
IDE log
Comment 2 Ondrej Vrabec 2014-04-27 09:49:10 UTC
should be fixed in dev builds already: bug #243905

*** This bug has been marked as a duplicate of bug 243905 ***