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.
When doing normal commit/push/fetch operations on a Mac with a Git repository on Samba share, index lock file can be left behind randomly even when operations succeed and Netbeans is not forcefully killed at any point. Manually removing the lock file always helps and the repository is not in any weird state. I'm 100% sure the human subject in this case was the only user of the local repo on that share and there were no other Git utilities used against it than Netbeans. I have no idea how to reproduce this but it happened 3 times last week with different repos with the same system. Worth noting is that the same Samba share is used with Windows 8.0.x Netbeans and no such thing has happened even once.
> Worth noting is that the same Samba share is used with Windows 8.0.x Netbeans and no such thing has happened even once. So it happens only on Mac? The same setup works on Windows? Why are you using Samba share for hosting git clones? Isn't it better, faster and easier to clone to local machine and keep it really local?
It's a convenience thing. The Samba server also runs Apache and PHP for the projects to run without needing a local server or needing to "release" files. It works just fine for Windows NetBeans and Linux cli.