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 207073

Summary: Git commands work recursively into nested clones
Product: versioncontrol Reporter: Ondrej Vrabec <ovrabec>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: VERIFIED FIXED    
Severity: normal CC: git, mmirilovic
Priority: P2    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 207067, 208617    

Description Ondrej Vrabec 2012-01-09 16:44:03 UTC
Git commands and actions work recursively and step into nested projects.
Commands: reset, checkout work recursively and corrupt submodule structure - e.g. the checkout command deletes submodules and creates empty files instead
Actions like commit, diff, status display also files from submodules and nested clones which may not be a problem for diff and status however the clone action fails when you try to commit 2 files from two nested clones at the same time.
Comment 1 Ondrej Vrabec 2012-01-10 10:08:36 UTC
fix: http://hg.netbeans.org/core-main/rev/3cd41bd4bf16
Comment 2 Ondrej Vrabec 2012-01-10 10:08:43 UTC
fix: http://hg.netbeans.org/core-main/rev/664783a83eb5
Comment 3 Quality Engineering 2012-01-11 16:16:47 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3cd41bd4bf16
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #207073 - Git commands work recursively into nested clones
honor nested repositories in git commands and do not step into them
Comment 4 Stepan Zebra 2012-04-10 14:00:12 UTC
please integrate into 7.1.2
Comment 6 Quality Engineering 2012-04-10 20:24:17 UTC
Integrated into 'releases', will be available in build *201204101705* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/35e8c43998ce
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #207073 - Git commands work recursively into nested clones
honor nested repositories in git commands and do not step into them
(transplanted from 3cd41bd4bf165daacb3063c3b5bfad6db77463d0)
Comment 7 Stepan Zebra 2012-04-18 13:34:31 UTC
verified in 7.1.2