| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -574,7 +574,7 @@ def _iter_items(cls, repo, common_path=None): | |||
| 574 | 574 | # walk loose refs | |
| 575 | 575 | # Currently we do not follow links | |
| 576 | 576 | for root, dirs, files in os.walk(join_path_native(repo.git_dir, common_path)): | |
| 577 | - if 'refs/' not in root: # skip non-refs subfolders | ||
| 577 | + if 'refs' not in root.split(os.sep): # skip non-refs subfolders | ||
| 578 | 578 | refs_id = [d for d in dirs if d == 'refs'] | |
| 579 | 579 | if refs_id: | |
| 580 | 580 | dirs[0:] = ['refs'] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments