Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify why GIT_PYTHON_GIT_EXECUTABLE may be set on failure
This clarifies the comment that explains the significance of setting the Git.GIT_PYTHON_GIT_EXECUTABLE attribute when running Git failed but the attribute wasn't set before. This happens in the code path in Git.refresh where has_git is False and old_git is None, provided the refresh mode doesn't call for the initial refresh to raise an exception on failure. It was previously described in terms of a "first" and "second" import, but as discussed in #1804, the rationale and effect were not altogether clear.
- Loading branch information