Closed sumavangala closed 2 years ago
I tried to reproduce this locally, running scalar clone https://github.com/git/git
, modifying a couple of files and running Git GUI, but I fail to reproduce the grayed-out menu entries.
In a larger repository, we noticed that some menu entries were grayed out, and that git status
spent a lot of CPU when looking at the Task Manager, but once git status
was done, the menu entry was no longer grayed out.
Are you sure that this is not a simple case of git status
still running, and once that's done, the menu entry would be enabled?
I'm seeing this in a small repository, not in the monorepo. It repros only in this repo and not the other one I have on this machine.
And I confirm this is not the case of git status
still running. Anything else I should check?
@sumavangala: can you verify that normal git status
works in that repository from the command line? Perhaps you're hitting the repo-ownership challenge introduced by the 2.35.2 security fix and need to use the safe.directory
config key.
@derrickstolee Yes, git status
works as expected from the command line. I tried setting safe.directory
in the config as suggested in #520 but that didn't help too.
@sumavangala try running git gui --trace
@dscho This is what I see:
@sumavangala and now run git gui --trace
in a worktree where Git GUI works, then compare, and investigate the differences.
@dscho I do not see any difference. So not sure what's happening.
Anyway, if this seems like a one-off issue, feel free to close the bug.
Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.
On git version 2.36.0.vfs.0.0
Actual: Edit, branch, commit etc. options are all disabled from "git gui" tool.
Expected: Should be able to select files, stage, commit, push etc. from "git gui" tool.