| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -905,7 +905,7 @@ def iter_items(cls, repo, parent_commit='HEAD'): | |||
| 905 | 905 | # try the index, maybe it was just added | |
| 906 | 906 | try: | |
| 907 | 907 | entry = index.entries[index.entry_key(p, 0)] | |
| 908 | - sm = cls(repo, entry.binsha, entry.mode, entry.path) | ||
| 908 | + sm = Submodule(repo, entry.binsha, entry.mode, entry.path) | ||
| 909 | 909 | except KeyError: | |
| 910 | 910 | raise InvalidGitRepositoryError("Gitmodule path %r did not exist in revision of parent commit %s" % (p, parent_commit)) | |
| 911 | 911 | # END handle keyerror | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,7 +109,7 @@ def update(self, previous_commit=None, recursive=True, force_remove=False, init= | |||
| 109 | 109 | ||
| 110 | 110 | ||
| 111 | 111 | psms = self.list_items(repo, parent_commit=previous_commit) | |
| 112 | - sms = self.list_items(self.module()) | ||
| 112 | + sms = self.list_items(repo) | ||
| 113 | 113 | spsms = set(psms) | |
| 114 | 114 | ssms = set(sms) | |
| 115 | 115 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments