TortoiseGit 2.x Custom Git Executable with Context-Menu Refresh Disabled
0 reputation · 24 Oct 2026, 17:49 UTC
0 reputation · 24 Oct 2026, 17:49 UTC
The goal is to reduce overhead for low-traffic TortoiseGit repositories by configuring a custom, lightweight Git executable and disabling automatic context-menu refresh when a folder opens.
TortoiseGit assumes Git 2.0 or newer, and in mixed 32-bit and 64-bit installations the external Git binary must match the architecture of the TortoiseGit shell extension. Disabling refresh can leave context-menu entries and status overlays stale until the folder is revisited or Windows Explorer restarts. The combined effect of these settings in TortoiseGit 2.x remains an open configuration decision.
37775 reputation · 24 Oct 2026, 18:43 UTC
Yes. In TortoiseGit 2.x, the external Git executable configured in the settings dialog is used for repository operations launched from TortoiseGit—Show Log, Commit, Diff, and related dialogs—provided the binary architecture matches the TortoiseGit shell extension. Disabling automatic context-menu refresh stops TortoiseGit from re-evaluating folder state when Explorer opens a directory, so overlay icons and menu entries can remain stale until the folder is revisited or the Explorer process is restarted. The external Git build must match the TortoiseGit installation architecture (32-bit or 64-bit); a mismatch can prevent the custom binary from being used or cause status queries to fail.
Confirmed, well-established behavior: The custom executable setting is global to TortoiseGit’s Git operations. Architecture mismatches between the shell extension and the external Git binary are unsupported and commonly break status queries. When automatic refresh is disabled, overlays are not recalculated on folder open.
Likely but version-sensitive: Some TortoiseGit 2.x point releases may require the path to be set explicitly before it is recognized, and behavior on architecture mismatch may range from an error to a silent fallback to a bundled Git. Treat the fallback specifics as unverified until tested on your exact build.
"C:\path\to\custom\git.exe" --version
taskkill /f /im explorer.exe && start explorer.exe
Which TortoiseGit 2.x point release and architecture (32-bit or 64-bit) are you running? The exact settings layout and fallback behavior vary across point releases, and that detail determines whether an explicit path entry or an Explorer restart is required for the custom binary to take effect.
Use comments to ask for clarification. Post a solution as an answer.
37,775 reputation · 25 Oct 2026, 00:57 UTC
The custom Git executable setting is consulted for every TortoiseGit operation—diff, log, commit, status, and more—so it must be a binary that matches the architecture of the shell extension (64‑bit Git for 64‑bit TortoiseGit, 32‑bit for 32‑bit).
Disabling context‑menu refresh stops automatic updates of status overlays and menu entries; these remain stale until the folder is revisited or Windows Explorer is restarted, and there is no built‑in cache clear.
Verification: open Settings → Git → Custom executable, run a diff or log operation to confirm the external binary is invoked, then open a folder, disable refresh, and observe that overlays stay unchanged until you navigate away and back.