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
Opening a repo silently fails when Apple Git is blocked by Xcode license acceptance #603
Explicitly configuring GitX to use /opt/homebrew/bin/git resolved the issue.
Reinstalling GitX and resetting its preferences and WebKit data did not resolve it.
Possible implementation areas
PBGitBinary.m supports the gitExecutable preference, but its fallback search locations omit /opt/homebrew/bin/git. Adding that location and surfacing repository-opening errors from Open Recent may address both discovery and the silent failure.
@johndouthat , Thanks for the detailed report, both halves were real.
The silent failure is the Open Recent window handing the document controller an empty
completion-handler, which means nothing presents the error it hands back.
I reproduced it without the Xcode license part by opening a repository and then moving
its .git aside: selecting it in the popup opened nothing and said nothing, while the
File menu showed "does not appear to be a git repository".
It now shows the same alert as the File menu.
You were also right about PBGitBinary.m:
the search locations predate Apple Silicon and never included /opt/homebrew/bin,
so with /usr/bin/git blocked there was nothing left to find.
It is now searched first, and since the "could not find a git binary" message is
built from that same list, it names it too.
I could not stage a /usr/bin/git that fails a licence check,
so that half is only covered by the code and a unit test -
if you still have the machine in that state, a build would confirm it properly:
GitX-arm64.zip under Artifacts (you need to be signed in to GitHub to download).
I left the third point, telling an unavailable git apart from one blocked by the
license agreement, out of this change. It needs matching on Apple's message text,
which I would rather not do quietly inside the version check.
Happy to look at it separately if the two fixes above do not leave you in a good place.
Activity
goneng commentedon Sep 12, 2026
@johndouthat , Thanks for the detailed report, both halves were real.
The silent failure is the Open Recent window handing the document controller an empty
completion-handler, which means nothing presents the error it hands back.
I reproduced it without the Xcode license part by opening a repository and then moving
its
.gitaside: selecting it in the popup opened nothing and said nothing, while theFile menu showed "does not appear to be a git repository".
It now shows the same alert as the File menu.
You were also right about
PBGitBinary.m:the search locations predate Apple Silicon and never included
/opt/homebrew/bin,so with
/usr/bin/gitblocked there was nothing left to find.It is now searched first, and since the "could not find a git binary" message is
built from that same list, it names it too.
Both are in #616.
I could not stage a
/usr/bin/gitthat fails a licence check,so that half is only covered by the code and a unit test -
if you still have the machine in that state, a build would confirm it properly:
https://github.com/gitx/gitx/actions/runs/34714878267
GitX-arm64.zipunder Artifacts (you need to be signed in to GitHub to download).I left the third point, telling an unavailable git apart from one blocked by the
license agreement, out of this change. It needs matching on Apple's message text,
which I would rather not do quietly inside the version check.
Happy to look at it separately if the two fixes above do not leave you in a good place.
Fix the recents list opening nothing and saying nothing (issue #603)
Find the git that Homebrew installs on Apple Silicon (issue #603)
Fix the recents list opening nothing and saying nothing (issue #603)
Find the git that Homebrew installs on Apple Silicon (issue #603)