andrewrynhard / atom-git-gui

A gui for git.
MIT License
14 stars 5 forks source link

Seems that it doesn't work with local only repos #8

Open CosmoMyzrailGorynych opened 7 years ago

CosmoMyzrailGorynych commented 7 years ago

I have a repository without remotes and with only (master) branch.

  1. I press F12,
  2. then click on a changed file like in gif,
  3. but nothing ever happens.

Also the branch dropdown is empty, and all icons are not responding (grayed out):

asdasd

andrewrynhard commented 7 years ago

@CosmoMyzrailGorynych would you mind giving me more information on you machine, atom version, etc.? Thanks.

CosmoMyzrailGorynych commented 7 years ago

My Atom is 1.13.0. It is running on Windows 8.1 with Git v2.11.0

I checked it again and it began working. Now I can see a master branch in a third dropdown. It seems to work, but another oddity appeared:

I have one file changed. If I click it once, a commit button becames active, but the file isn't checked as staged. If I click again, a green tick appears marking it as staged. The third click deactivates the commit button and a staged icon.

andrewrynhard commented 7 years ago

I have seen this happen with repos that have no commit history. Was this your case?

CosmoMyzrailGorynych commented 7 years ago

No, it already had 5 commits saved or so.

-----Original Message----- From: "Andrew Rynhard" notifications@github.com Sent: ‎1/‎13/‎2017 2:05 AM To: "andrewrynhard/atom-git-gui" atom-git-gui@noreply.github.com Cc: "Cosmo Myzrail Gorynych aka Cos" myzraelle@yandex.ru; "Mention" mention@noreply.github.com Subject: Re: [andrewrynhard/atom-git-gui] Seems that it doesn't work withlocal only repos (#8)

I have seen this happen with repos that have no commit history. Was this your case? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

andrewrynhard commented 7 years ago

Hmmm... Okay thank you for the feedback, I will be looking into this.

elib0 commented 7 years ago

Same problem captura