2

Closed

not seeing status icons at all

description

I have 0.7.2 and Visual Studio 2010, while the context menus work fine, I can't get the status icons to show up at all. I've tried re-installing git source control provider, but beyond that I'm not sure what to try.

file attachments

Closed Oct 18, 2011 at 11:58 PM by
fixed in V0.8.5

comments

jokedst wrote Sep 27, 2011 at 11:48 AM

Have you set visual studio to use gitcss as source control plug-in?
Go to tools->options in visual studio, go then to "Source Control"->"Plug-In Selection".
Choose 'Git Source Control Provider'

randallrvr wrote Sep 28, 2011 at 7:32 PM

Yes, that was the first thing I tried.

bagram wrote Oct 13, 2011 at 3:46 AM

I had the same problem yesterday. I already set my visual studio to use Git source control provider as source control by going to "Source Control"->"Plug-In Selection".
Unfortunately I still haven't got any File Status displayed in solution explorer. Is anyone else encountering this issue?
I am using Visual Studio 2010 Ultimate.

yysun wrote Oct 13, 2011 at 1:07 PM

you can try using git bash, run git status and git log to see if it reports anything

randallrvr wrote Oct 13, 2011 at 4:33 PM

git is running just fine, gitscc just doesn't seem to want to display any information from git

bagram wrote Oct 14, 2011 at 12:27 AM

I have to agree with you randallrvr, I can checkin the code from visual studio, right click and the git menu can do branching, everything. It is just that the file status is not shown at all.
I had confirmed this with my friend who had the same issue yesterday.

yysun wrote Oct 14, 2011 at 12:16 PM

@randallrvr and @bagram, to help debug the issue, can you please create a sample solution/project with git repo. Zip and upload here, so that I can check it out.

Thanks

bagram wrote Oct 15, 2011 at 11:11 AM

The way I created the repo is through the tortoiseGit. I tried to create a brand new project and create git repository through visual studio and it threw me "ngit.util.fs threw an exception".
I have also attached the screenshot of that error message.

yysun wrote Oct 15, 2011 at 11:56 AM

Thanks bagram. We are getting there. The sample repo created by tortoiseGit is perfect for analysis. Please upload.

bagram wrote Oct 15, 2011 at 12:11 PM

please check the .git.zip file I just attached.
I had another friend and it displays the file status...

yysun wrote Oct 15, 2011 at 12:36 PM

Thanks again bagram. The repo looks fine. Status showed up. Consider the error when initializing new repo. It may be something related to git global config. I am looking into that.

yysun wrote Oct 15, 2011 at 1:17 PM

@bagram, please do me a favour. Open command prompt (cmd.exe), type set HOME, check what does it print.
According to EGit WIKI, http://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows
The case may cause problem, E.g. C:\users instead of C:\Users may cause problems!

bagram wrote Oct 15, 2011 at 1:29 PM

C:\Users\Jonathan>set HOME
HOMEDRIVE=C:
HOMEPATH=\Users\Jonathan
This is what it prints out..

yysun wrote Oct 15, 2011 at 2:19 PM

@bagram the HOME looks right. I am not sure what caused internal crash of nigt on your machine. I will dig into it code more ...

yysun wrote Oct 16, 2011 at 12:51 AM

Please try the V0.8.5 beta. http://gitscc.codeplex.com/releases/view/46589#DownloadId=293230
It is a debug build, so there is a log file "My Documents\gitscc.log" created. You can send me the log file if the problem still exists.

bagram wrote Oct 16, 2011 at 3:37 PM

Thanks yysun,
The problem still exists and please check the log file. When I checked the log file, it seems that there is some characters that caused the exception.

yysun wrote Oct 16, 2011 at 7:10 PM

Thanks bagram again for the log. Open command prompt (cmd.exe), type set PATH. You may find out what is the invalid character for path. ngit crashes while using your PATH to detect cygwin. Fix the PATH to see it works.

I will create a new build to disable the detection.

bagram wrote Oct 17, 2011 at 6:44 AM

@yysun, Thank you very much!!! I really appreciate your assistance!
The file status is now displayed properly. I saw in my set path, I had " signs, so I removed them all.