#130 ✓resolved
hukl

GitX freezes on opening fresh rails project

Reported by hukl | April 1st, 2009 @ 11:31 AM

I just created a fresh ruby on rails project. Then i changed to that directory and initialized a git repo. After setting my local profile as well as a .gitignore file I wanted to use GitX to add Files to the index. I used the open command and selected the project folder but then GitX tried to refresh the index forever (no files were added so far). It used > 100% CPU and was not responding after a few seconds

I sampled it while it was not responding:

http://pastie.textmate.org/priva...

Hope that helps. This is for the recent 0.62 release which is now simply not usable for me :/

Bug occurs in Commit View after opening a folder git version 1.6.2.1 os x version 10.5.6 on a intel macbook pro GitX version 0.62 Last version that worked 0.61

Comments and changes to this ticket

  • Pieter de Bie

    Pieter de Bie April 1st, 2009 @ 01:04 PM

    So when does it freeze exactly? When you open the repository, in history view or in commit view? Or does it only freeze once you try to stage something?

    It works fine here, though dragging the new files from left to right is very slow

  • hukl

    hukl April 1st, 2009 @ 03:38 PM

    I start GitX and it comes up with the open dialog, I select the fresh rails project folder in which i ran git init. Then i see the commit view and in the bottom left corner i see the spinner and "refreshing index" which doesn't stop, it then eats up my cpu cycles and stops responding.

  • hukl

    hukl April 1st, 2009 @ 03:42 PM

    Sorry - I did something wrong. I initialized the git repo in the parent directory of the rails project which is quite big. So it chokes on that one. I tried it again with a new rails project and initialized git within that directory and gitx is fine with it.

    Sorry, again.

    The issue is probably only with big directories and GitX would possibly even recover. Would be nice if it wasn't blocking completely but I guess thats a complete different issue. Hope I didn't scare you too much.

    Keep up the good work!

  • hukl

    hukl April 1st, 2009 @ 04:14 PM

    But now that it opening works - staging all files at once make GitX hang.

  • hukl

    hukl April 1st, 2009 @ 04:17 PM

    So GitX is not dealing well with large ammount of files although an emtpy rails project doesn't have that many especially because git itself is really fast on the command line with all that.

  • Pieter de Bie

    Pieter de Bie April 1st, 2009 @ 04:18 PM

    Yes, I noticed that too. I'll look into it, I guess it might do a git call for every file it adds or something.

  • Pieter de Bie

    Pieter de Bie May 28th, 2009 @ 04:54 PM

    • State changed from “new” to “resolved”

    This has been fixed for a while

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.

New-ticket Create new ticket

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

People watching this ticket

Pages