My VS is telling me there’s an update to the GIT extensions too

Andrew Coates, ME, MCPD, MCSD MCTS, Developer Evangelist, Microsoft, 1 Epping 
Road, NORTH RYDE NSW 2113
Ph: +61 (2) 9870 2719 • Mob +61 (416) 134 993 • Fax: +61 (2) 9870 2400 • 
http://blogs.msdn.com/acoat

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Connors
Sent: Thursday, 28 January 2016 5:38 PM
To: ozDotNet <ozdotnet@ozdotnet.com>
Subject: Re: VS2015 and Git

Have you installed Update 1 yet? I am just putting that on now and it repaves 
GIT (says my current tools are deprecated).

Might be a last resort before rebuild.

On Thu, 28 Jan 2016 at 15:16 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:

git show works perfectly. So does git log. And git diff. (No errors, details 
shown)

I too am out of ideas. Like I said, it is like MOST of VS works with Git, just 
CodeLens and the dropdown don't. Looks like a reinstall is in order.

David - thanks so much for your help. I really appreciate you taking the time 
to try to find a fix for this.

Cheers
DB

On 28 January 2016 at 16:04, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
What happens if you open a GIT command prompt (Actions menu on the Branches 
tab) and do a
git show
and
git log

?

Do you get any errors? Can you see the author detail in the log?

Does git diff return any errors?

I am just about out of ideas.

On Thu, 28 Jan 2016 at 14:30 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
The URLs are exactly correct and the same as I use for Git to clone the repo.


On 28 January 2016 at 15:14, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
In Team Explorer

1. Click Home
2. Click Settings
3. Click Repository Settings

Scroll down and show what URLs are listed under Remotes.
On Thu, 28 Jan 2016 at 13:53 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
I tried it for a toy project that I only have locally. Same deal - can see 
history, etc, but no "authors/changes", no dropdown.

Then tried it for a clone of the master repo, different branch. Same deal.

:(


All seems to point to Git/VS integration issue. Only half of VS can see Git, 
consistently.


On 28 January 2016 at 14:37, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
You could try making a Hello World project / repo on your local machine and 
seeing if that has the same issue (ie. to see if there is something borked in 
your GIT/VS integration or maybe it is something to do with your local repo for 
sumo?)

On Thu, 28 Jan 2016 at 13:25 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
Turned off CodeLens. Shut down VS. Started VS. Loaded solution. Turned back on 
CodeLens....

...and exactly the same as before.

Might try the old uninstall/reinstall VS2015 if I have a few hours spare.

On 28 January 2016 at 14:16, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
This is odd because I had the same issue with codelens when I ran up GIT but I 
didn't do anything to fix it - it just started working.

Did you want to turn all the code lens options off quit/reload/etc and turn 
them back on to see if that kicks it into action?

On Thu, 28 Jan 2016 at 13:09 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
I get the entire history! It clearly has no problem connecting to Git, just 
that CodeLens and the branches dropdown don't work. Odd indeed!

On 28 January 2016 at 14:06, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
This is odd. What happens if you try and view history of master (right click on 
View History on master in branches)?

On Thu, 28 Jan 2016 at 12:34 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
This is the bit above the screenshot:
[image.png]


This is after pressing the "home" button:
[image.png]

On 28 January 2016 at 13:17, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
What does it say just above that screenshot?

It looks like you're in the branches view. What do you get if you click the 
little house/home button at the top of the Team Explorer window?

On Thu, 28 Jan 2016 at 11:04 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
Thanks for the quick reply David.

I installed it yesterday, so it's been a while.

This is what CodeLens looks like - picks up references but no Git info.
[image.png]

This is what Team Explorer looks like:
[image.png]

Cheers
Dave


On 28 January 2016 at 11:49, David Connors 
<da...@connors.com<mailto:da...@connors.com>> wrote:
How long ago did you install it? Code Lens took a half hour to start working 
for me.

Can you send a screenshot of your team explorer? It sounds like you don't have 
a project open.

On Thu, 28 Jan 2016 at 10:41 David Burstin 
<david.burs...@gmail.com<mailto:david.burs...@gmail.com>> wrote:
Hi guys,

Is anyone using VS2015 and Git? I have recently installed it along with most of 
the other devs at my work. When I go to the Team Explorer tab I can see the 
Active Git Repositories, but CodeLens doesn't show any authors or changes. 
There is also a dropdown at the right of the status bar that everyone else 
seems to have except me that shows Git branches.

Microsoft Git Provider is set as my source control plug-in.

Does anyone have any tips or thoughts as to how I might get Git properly 
integrated with my VS2015 install. For everyone else who I work with, it just 
seemed to work out of the box (of course).

Cheers
Dave
--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

--
David Connors
da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 
417 189 363

Reply via email to