Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commite80fc5f
committed
Clarify why an initial failing git command can be set
This clarifies the comment that explains the significance ofsetting the Git.GIT_PYTHON_GIT_EXECUTABLE attribute when running itdid not suceeed but it hadn't been set before (or was set to None).This happens in the code path in Git.refresh where has_git is Falseand old_git is None, provided the refresh mode doesn't call for theinitial 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 werenot altogether clear.1 parentd28c20b commite80fc5f
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
475 | 475 |
| |
476 | 476 |
| |
477 | 477 |
| |
478 |
| - | |
479 |
| - | |
480 |
| - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
481 | 482 |
| |
482 | 483 |
| |
483 | 484 |
| |
|
0 commit comments
Comments
(0)