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 247614 - Git Repository Browser does not refresh when closing projects
Summary: Git Repository Browser does not refresh when closing projects
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 07:14 UTC by hifi
Modified: 2014-10-01 07:33 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 hifi 2014-10-01 07:14:18 UTC
As noted in bug 213337, the Git Repository Browser does not refresh when you close projects.

It adds new repositories when you open a Project but it should also remove repositories from itself when you close a Project with git repository.

After you've worked on many projects, the browser will become very full and inconsistent with your other views. Re-opening NetBeans is the only workaround and can be a very expensive operation because opening projects and background scanning takes some time.
Comment 1 Ondrej Vrabec 2014-10-01 07:27:03 UTC
It does not work that way. Git works on file level, not on projects level. So it pretty much does not care about what's open in the projects view. Especially because there is the Favorites view which must be reflected as well.
Comment 2 hifi 2014-10-01 07:33:23 UTC
I didn't know if the repository browser had any relation to projects in NetBeans internally so it made sense that if they did, the views would reflect on each other when a project is closed.

What was accepted as a solution in bug 247615 works for me as a fix for this.

Thank you.