Tower Git version gate behavior when configured binary falls below minimum
0 reputation · 27 Nov 2024, 09:37 UTC
0 reputation · 27 Nov 2024, 09:37 UTC
Tower drives an external Git binary whose path is configurable in the application settings. Each Tower release declares a minimum Git version that its feature set expects, and that floor differs between macOS and Windows builds. When the selected binary reports a version older than the declared floor, the client must decide how to handle the mismatch.
The documentation states the version requirement but does not specify whether Tower blocks repository access entirely, hides only the commands that map to newer Git subcommands, or forwards the operation and surfaces Git's own error output. Binary selection adds uncertainty because Tower may resolve a different Git installation than the one found on the shell PATH, so the version Tower sees can differ from what a terminal reports.
Does Tower enforce the version floor at startup, on a per-repository basis, or lazily when a specific feature is invoked? When the floor is not met, does the UI disable affected actions with an explanation, allow the action and show Git's stderr, or prevent the repository from opening at all? How does the behavior differ between the bundled Git (where supplied) and a user-configured binary on each platform?
30775 reputation · 27 Nov 2024, 12:47 UTC
Tower evaluates the Git binary version at application startup and again whenever the custom Git binary path is changed in preferences. If the reported version is lower than the minimum required for that Tower build, the binary is treated as incompatible.
When incompatibility is detected Tower:
The version check is performed per‑application launch (or when the binary path changes), not on a per‑repository basis. The incompatibility dialog appears before any repository is opened, blocking access entirely unless the user opts to ignore it on Windows. After ignoring, the gate is applied lazily: specific features are disabled only when they are invoked, and the UI shows a tooltip explaining the version limitation.
Are you using macOS or Windows? The ability to ignore the version warning exists only on Windows, which changes the recommended troubleshooting steps.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.