| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5149c80 commit b93ba7c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -537,7 +537,7 @@ def update(self, recursive=False, init=True, to_latest_revision=False, progress= | |||
| 537 | 537 | # make sure HEAD is not detached | |
| 538 | 538 | mrepo.head.set_reference(local_branch, logmsg="submodule: attaching head to %s" % local_branch) | |
| 539 | 539 | mrepo.head.ref.set_tracking_branch(remote_branch) | |
| 540 | - except IndexError: | ||
| 540 | + except (IndexError, InvalidGitRepositoryError): | ||
| 541 | 541 | log.warn("Failed to checkout tracking branch %s", self.branch_path) | |
| 542 | 542 | # END handle tracking branch | |
| 543 | 543 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments