Open GoogleCodeExporter opened 9 years ago
Actually, an update.
I can't run command line git on the repo I was working with immediately prior to
these errors. Git segfaults all over itself, throws glibc errors, etc.
I tested with both git on my local machine and on the fileserver (the repo
actually
resides on a NAS and is accessed via NFS) and the errors with git occur on both
machines (local: Debian, NAS: CentOS) but only for this specific repo. I tested
other
repos which appear to be fine.
The long and skinny is I don't know if this NetBeans/nbgit snafu messed up my
repo,
or something else. I'm not familiar enough with git or Java to know where to
look to
find out, but I will report back here if I figure anything out.
Any help is appreciated.
Original comment by sett...@gmail.com
on 24 Sep 2009 at 6:42
It might be the index file that is corrupted. Try to remove the .git/index file
and
regenerate it by running `git status`
Original comment by jonas.fonseca
on 24 Sep 2009 at 7:17
I moved .git/index to .git/index.corrupt and regenerated as instructed and that
seems
to have done the trick. I'm not at my work machine right now so I can't test the
NetBeans environment, but it seems command line git is working again on that
repo.
Thanks a ton for the poke in the right direction. I will update this again
tomorrow
with a report on NetBeans status.
Original comment by sett...@gmail.com
on 25 Sep 2009 at 12:48
It seems like that was the problem. I can't be certain as to what caused it,
though.
I wish I was more familiar with the technologies.
Thanks again for your help.
nbgit is great and does everything I need it to do ('cept reading .gitignore
files ;D)
- John
Original comment by sett...@gmail.com
on 25 Sep 2009 at 6:50
If NbGit version 0.3 does not handle your .gitignore files correctly please
file an issue. This was one of the main additions of version 0.3 ...
Original comment by jonas.fonseca
on 17 Oct 2009 at 12:56
Ah, I didn't realize that .gitignore support was added in 0.3! I didn't read the
changelog when updating; I updated to see if it would fix the issue at hand at
the
time... though I have noticed that files seem to be ignored that I didn't
explicitly
ignore before with nbgit... so, obviously, it must be working.
Thanks :)
Original comment by sett...@gmail.com
on 18 Oct 2009 at 9:35
Original issue reported on code.google.com by
sett...@gmail.com
on 24 Sep 2009 at 6:11Attachments: