Reread submodule info from config, index, and HEAD. Call this to reread cached submodule information for this submodule if you have reason to believe that it has changed. Parameters: force Force reload even if the data doesn't seem out of date
(self, force: bool = False)
| 121 | payload.check_error(err) |
| 122 | |
| 123 | def reload(self, force: bool = False) -> None: |
| 124 | """ |
| 125 | Reread submodule info from config, index, and HEAD. |
| 126 | |
| 127 | Call this to reread cached submodule information for this submodule if |
| 128 | you have reason to believe that it has changed. |
| 129 | |
| 130 | Parameters: |
| 131 | |
| 132 | force |
| 133 | Force reload even if the data doesn't seem out of date |
| 134 | """ |
| 135 | err = C.git_submodule_reload(self._subm, int(force)) |
| 136 | check_error(err) |
| 137 | |
| 138 | @property |
| 139 | def name(self): |