1 file changed
@@ -40,6 +40,11 @@ fi | |||
| 40 | 40 | git tag __testing_point__ | |
| 41 | 41 | ||
| 42 | 42 | # The tests need a branch called master. | |
| 43 | + # | ||
| 44 | + # If master is locally absent but more than one remote has it, checkout fails | ||
| 45 | + # by default even if all remotes agree, and we fall back to creating it at | ||
| 46 | + # HEAD. The reflog we populate below then traces HEAD's history rather than | ||
| 47 | + # a remote master's, but master is reset to __testing_point__ either way. | ||
| 43 | 48 | git checkout master -- || git checkout -b master | |
| 44 | 49 | ||
| 45 | 50 | # The tests need a reflog history on the master branch. | |
0 commit comments