Commit 0cb54a8
committed
ENH: orchestrators: Make head_at() helper abort on submodule changes
head_at() already aborts with a dirty repository to avoid losing any
changes. But, if a submodule changed between the current and target
commit, the repository may become dirty after checking out the target.
In that case, the submodule is carrying an undefined set of changes
that could cause confusion (e.g., if the submodule change came in with
a save).1 parent 1fa72ca commit 0cb54a8
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
898 | 905 | | |
899 | 906 | | |
900 | 907 | | |
| |||
0 commit comments