You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Index spinner goes forever and doesn't show new files, only modified ones #86
Happy to add more detail but not really sure how to debug this. I have an old Rowanj fork running that works fine but have the issue with this (and the older scp fork). I wonder if something just got corrupted for that repo but not sure how to clear out the data.
Thanks for looking. Sorry I am not more helpful and wish I could share the repo but it is private.
Git status is normal and shows the untracked files. Yes they are a bunch random files (some in a bin folder). I can move the repo down a level and get rid of those but wanted to understand what was going on first.
Git fsck shows a bunch of dangling commits and blobs but nothing too odd:
I'm having the same issue. Stage view shows tracked files fine, both staged and unstaged, but doesn't seem to show new/untracked files. Then there's the index spinner...
git status looks normal, git fsck showed lots (100+) of dangling blobs and commits, and I have lots (many hundreds, maybe 1000+) of plain source files in my worktree that need to be staged & commited.
After staging all of the files manually, I opened gitx again and found that it's now correctly showing untracked files (there are only 2) in the "Unstaged Changes" pane, but it's showing nothing in the "Staged Changes" pane, even though there are ~10 tracked+staged and many, many more untracked+staged files. Before manually staging the files, this showed the tracked files that I had staged. Now it's just empty. I have 1649 files staged, 1636 of them are new files.
After committing these changes (manually) and reopening gitx, everything goes back to normal and the index spinner disappears.
I think the cause is that a large set of staging files seems to fill the output buffer for NSTask in -[PBEasyPipe performCommand:....]. The task never terminates, and so dispatch_group_notify block which turns off that spinner and causes a UI refresh never happens.
Activity
tiennou commentedon Apr 25, 2017
In the stage view ?
jeremyk commentedon Apr 25, 2017
tiennou commentedon Apr 25, 2017
I'd really like "more detail" please :
git statusreport anything weird ?git fsckreport anything (that's in case of corruption, as you suspect) ?jeremyk commentedon Apr 25, 2017
Thanks for looking. Sorry I am not more helpful and wish I could share the repo but it is private.
Git status is normal and shows the untracked files. Yes they are a bunch random files (some in a bin folder). I can move the repo down a level and get rid of those but wanted to understand what was going on first.
Git fsck shows a bunch of dangling commits and blobs but nothing too odd:
Here is a screenshot in case my description wasn't clear. Old Rowanj on the right:

claytonrcarter commentedon May 2, 2017
I'm having the same issue. Stage view shows tracked files fine, both staged and unstaged, but doesn't seem to show new/untracked files. Then there's the index spinner...
git statuslooks normal,git fsckshowed lots (100+) of dangling blobs and commits, and I have lots (many hundreds, maybe 1000+) of plain source files in my worktree that need to be staged & commited.claytonrcarter commentedon May 2, 2017
After staging all of the files manually, I opened gitx again and found that it's now correctly showing untracked files (there are only 2) in the "Unstaged Changes" pane, but it's showing nothing in the "Staged Changes" pane, even though there are ~10 tracked+staged and many, many more untracked+staged files. Before manually staging the files, this showed the tracked files that I had staged. Now it's just empty. I have 1649 files staged, 1636 of them are new files.
After committing these changes (manually) and reopening gitx, everything goes back to normal and the index spinner disappears.
claybridges commentedon Jun 5, 2017
From my investigation so far...
I think the cause is that a large set of staging files seems to fill the output buffer for
NSTaskin-[PBEasyPipe performCommand:....]. The task never terminates, and sodispatch_group_notifyblock which turns off that spinner and causes a UI refresh never happens.Fix for indexing forever spinner
claybridges commentedon Jun 6, 2017
@jeremyk @claytonrcarter This fixed the same problem that was happening to me. Let me know if you can test it vs. your sitch.