| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,6 +40,7 @@ class Tree(base.IndexObject, diff.Diffable): | |||
| 40 | 40 | # using ascii codes for comparison | |
| 41 | 41 | commit_id = 016 | |
| 42 | 42 | blob_id = 010 | |
| 43 | + symlink_id = 012 | ||
| 43 | 44 | tree_id = 040 | |
| 44 | 45 | ||
| 45 | 46 | ||
@@ -117,7 +118,7 @@ def _iter_from_data(self): | |||
| 117 | 118 | ||
| 118 | 119 | mode |= type_id<<12 | |
| 119 | 120 | hexsha = sha_to_hex(sha) | |
| 120 | - if type_id == self.blob_id: | ||
| 121 | + if type_id == self.blob_id or type_id == self.symlink_id: | ||
| 121 | 122 | yield blob.Blob(self.repo, hexsha, mode, name) | |
| 122 | 123 | elif type_id == self.tree_id: | |
| 123 | 124 | yield Tree(self.repo, hexsha, mode, name) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments