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 - Git submodule's folder deleted after clone
Summary: Git submodule's folder deleted after clone
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 13:36 UTC by Stepan Zebra
Modified: 2012-04-13 09:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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