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 208332 - Support Git submodules
Summary: Support Git submodules
Status: RESOLVED DUPLICATE of bug 207067
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 12:20 UTC by Tomas Mysik
Modified: 2012-02-13 13:07 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-02-13 12:20:56 UTC
Please, add support for Git submodules [1][2]. I can provide more information or even sample repo if needed.

The current state is:
- submodule files look like new files (green highlighting)

I did not try to commit or whatever from the IDE since I am not sure what would happen :)

Thanks.
[1] http://progit.org/book/ch6-6.html
[2] http://book.git-scm.com/5_submodules.html
Comment 1 Ondrej Vrabec 2012-02-13 12:35:45 UTC
same as #207067, the reason for incorrect statuses and failing commands is that .git in submodules is not a folder but a text file with link to the actual .git metadata folder. Our Git support is unable to parse it.

*** This bug has been marked as a duplicate of bug 207067 ***
Comment 2 jessholle 2012-02-13 13:07:33 UTC
As per comments on the other bug, a .git file of this form is a standard layout supported by and in cases automatically chosen by Git.  Saying NetBeans' Git module cannot support this it is equivalent of saying that the NetBeans Git support is committed to being broken!