NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
meme
Joined: 26 Dec 2009 Posts: 3
|
Posted: Fri Feb 03, 2012 12:35 pm Post subject: git status and git "show changes" differs |
|
|
Hi,
yesterday, I've checked out a svn repository using git svn. Everything works great. Today, I wanted to start coding but now there are shown many many changes. These changes aren't made. A "git status" shows no changes. There're also no other branches so it's strange...
This project was also opened the first time. So I wouldn't expect that's an cached-index issue..
Does anybody has an idea, how I can make nb to accept that there are no changes?? )
Btw: NB also want's to commit the "changes" which aren't there. ))
yours
marc |
|
| Back to top |
|
 |
eds
Joined: 22 Feb 2012 Posts: 3
|
Posted: Wed Feb 22, 2012 3:05 pm Post subject: I am having the same issue |
|
|
git status shows that the file is not changed
Netbeans Show Changes shows the file as having been modified (i.e. the filename is colored blue instead of black both in the tabs and in the projects pane). However, the status column in Show Changes just shows -/-
This used to work fine.
The repository is cloned from a github repository.
I did do a commit via the command line at one point. However, NetBeans is showing various files in this state and many of those files were not affected by that commit.
I also have Tortoise Git installed and it shows the status of the files correctly.
This is mainly an annoyance but it would be nice to be able to clear the NetBeans file status and have it resync with what is being reported by git.
Any ideas would be appreciated. |
|
| Back to top |
|
 |
fecsedy
Joined: 23 Feb 2012 Posts: 1
|
Posted: Thu Feb 23, 2012 5:28 pm Post subject: |
|
|
| The "Changes between HEAD and Index" button works fine, i.e. shows no changes and the "Changes between Index and Working Tree" button works fine also but the "Changes between HEAD and Working Tree" does show a smattering of files with '-/-' status and highlighted in blue. It is annoying. |
|
| Back to top |
|
 |
eds
Joined: 22 Feb 2012 Posts: 3
|
Posted: Sun Mar 11, 2012 9:31 pm Post subject: Fixed in the nightly build |
|
|
This problem seems to have been fixed in the nightly build. See http://netbeans.org/bugzilla/show_bug.cgi?id=198451
I downloaded the latest nightly build and the problem seems to have been fixed. |
|
| Back to top |
|
 |
lgammo
Joined: 01 Apr 2009 Posts: 2
|
Posted: Sat May 26, 2012 12:26 am Post subject: Re: Fixed in the nightly build |
|
|
I have tried the nightly build (in May) and the 7.2 beta and they still have that same problem.
Am I missing something?
I am on Windows by the way...
|
|
| Back to top |
|
 |
eds
Joined: 22 Feb 2012 Posts: 3
|
Posted: Mon May 28, 2012 12:25 pm Post subject: Re: Fixed in the nightly build |
|
|
| lgammo wrote: | I have tried the nightly build (in May) and the 7.2 beta and they still have that same problem.
Am I missing something?
I am on Windows by the way...
|
I am also running on Windows (Windows 7 if it makes a difference). I am currently running NetBeans IDE Dev (Build 201204150400)
If I make changes to files via the IDE and then do a git commit and git push from a separate command shell the files change in the IDE go back to there status as being unchanged.
On a different computer I installed a more recent nightly build and in addition to fixing this problem there also is code folding for if-else blocks in the editor.
Just a warning, there is some instability in the nightly builds so every once in a while I get a Java error. So far it has not been anything more than an annoyance. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|