| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f237620 commit 5a358f2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -96,7 +96,15 @@ def _iter_packed_refs(cls, repo): | |||
| 96 | 96 | if not line: | |
| 97 | 97 | continue | |
| 98 | 98 | if line.startswith('#'): | |
| 99 | - if line.startswith('# pack-refs with:') and not line.endswith('peeled'): | ||
| 99 | + # "# pack-refs with: peeled fully-peeled sorted" | ||
| 100 | + # the git source code shows "peeled", | ||
| 101 | + # "fully-peeled" and "sorted" as the keywords | ||
| 102 | + # that can go on this line, as per comments in git file | ||
| 103 | + # refs/packed-backend.c | ||
| 104 | + # I looked at master on 2017-10-11, | ||
| 105 | + # commit 111ef79afe, after tag v2.15.0-rc1 | ||
| 106 | + # from repo https://github.com/git/git.git | ||
| 107 | + if line.startswith('# pack-refs with:') and 'peeled' not in line: | ||
| 100 | 108 | raise TypeError("PackingType of packed-Refs not understood: %r" % line) | |
| 101 | 109 | # END abort if we do not understand the packing scheme | |
| 102 | 110 | continue | |
| Back | FazBrowse Home | New Git URL |
0 commit comments