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 239167 - Git status not refreshed after commit for a long time
Summary: Git status not refreshed after commit for a long time
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2013-12-05 18:02 UTC by Jesse Glick
Modified: 2013-12-06 23:06 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 Jesse Glick 2013-12-05 18:02:02 UTC
20131204-1205f74381c7. Seems to be a recent regression in dev builds, or at least I do not remember seeing it until this build. After Team > Commit, the Projects tab and the edited file are still marked with a blue badge, as if still modified. (‘git status -s’ from a shell confirms that they are not.) The badges do eventually go away, but it seems to take a couple of minutes, whereas previously it was essentially immediate. (Even on a small repository with maybe a couple dozen files.)
Comment 1 Ondrej Vrabec 2013-12-05 18:10:28 UTC
Yeah, i played and fixed a P4 (http://hg.netbeans.org/main-golden/rev/53eeedd59d99) and forgot to implement a relevant method (http://hg.netbeans.org/main-golden/file/f8460a42fb0d/git/src/org/netbeans/modules/git/FileStatusCache.java#l149). I noticed after an hour and fixed it immediately but unfortunately the fix got stuck somewhere along the way and has not made it into a dev build yet. The fix: http://hg.netbeans.org/main-silver/rev/da05cf580d1b
Comment 2 Ondrej Vrabec 2013-12-05 18:11:04 UTC
Please reopen if you can still get this in later dev builds.
Comment 3 Jesse Glick 2013-12-06 23:06:56 UTC
Fine in 20131206-3422eed6fdbf.