cannot commit with a new git repo
Reported by urkle | August 19th, 2009 @ 10:04 PM
OK..
So I've been using gitx for a while and it's AWESOME. What I've been using it on is a few "git svn"'ed repos, and one git repo that I created fresh.
now a week ago I created another repo (this time via eclipse instead of the command line tools) and well it won't work. I can commit via the command line fine and gitx shows everything fine. The only problem is the "view" buttons are disabled so I can not switch to "commit" view.
I cloned the repo (git clone myrepo test) and ran gitx on the clone, that works fine.. The views are enabled.
If i start gitx in commit view (gitx -c) it shows up in tree view and the buttons are enabled, but clicking on the "commit view" button simple disabled the buttons.
I'm running version 0.6.3.
I'll download the git head and see if it works.
Comments and changes to this ticket
-

Pieter de Bie August 19th, 2009 @ 10:22 PM
My guess is Eclipse (did you use egit?) creates the repository in a
different way, and GitX thinks it's a bare repository. Johannes might
know more about this? -

Johannes Gilger August 20th, 2009 @ 12:41 AM
- State changed from new to open
Hm, this sounds like the usual bare/non-bare conflict, although you shouldn't be able to commit using "git" in a bare-configured repo.
Could you please paste the content of the nonworking .git/config (or "git config -l" issued in the dir)?
-

-

Johannes Gilger August 20th, 2009 @ 10:08 AM
- State changed from open to resolved
OK, this really seems like the thing we fixed in #150
I'm closing this for now, GitX 0.7 should work even if you don't set core.bare manually.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
GitX is the nice-looking gitk clone for OS X