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 211012

Summary: Git submodule's folder deleted after clone
Product: versioncontrol Reporter: Stepan Zebra <stezeb>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: git
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Stepan Zebra 2012-04-11 13:36:21 UTC
When performing Git Clone of a project with submodules, the submodule's folders are deleted (or not cloned). Those folders are visibly marked as deleted on command line Git and commiting them leads to a state in which the submodules can't be initialized.
Comment 1 Ondrej Vrabec 2012-04-12 13:31:32 UTC
fix: http://hg.netbeans.org/core-main/rev/6f3a69159196
Comment 2 Quality Engineering 2012-04-13 09:48:55 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6f3a69159196
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #211012 - Git submodule's folder deleted after clone
better handling of added nested repository/submodule root folders
- ability to add such a folder as gitlink to the index and repository
- after clone/revision checkout such folders should be created but not initialized
- originally were filtered out in status command result, now they appear there as they do on commandline