The code worked under the assumption that anything under `refs/tags` are tag objects, and all the rest would be peelable to a commit. As it is completely valid to have tags to blobs under a non `refs/tags` ref, this would cause failures when trying to peel a tag to a commit. Fix the broken filtering by switching to `git_revwalk_push_glob`, which already handles this case.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| branches | Loading commit data... | |
| reflog | Loading commit data... | |
| crashes.c | Loading commit data... | |
| create.c | Loading commit data... | |
| delete.c | Loading commit data... | |
| dup.c | Loading commit data... | |
| foreachglob.c | Loading commit data... | |
| isvalidname.c | Loading commit data... | |
| iterator.c | Loading commit data... | |
| list.c | Loading commit data... | |
| listall.c | Loading commit data... | |
| lookup.c | Loading commit data... | |
| namespaces.c | Loading commit data... | |
| normalize.c | Loading commit data... | |
| overwrite.c | Loading commit data... | |
| pack.c | Loading commit data... | |
| peel.c | Loading commit data... | |
| races.c | Loading commit data... | |
| read.c | Loading commit data... | |
| ref_helpers.c | Loading commit data... | |
| ref_helpers.h | Loading commit data... | |
| rename.c | Loading commit data... | |
| revparse.c | Loading commit data... | |
| setter.c | Loading commit data... | |
| shorthand.c | Loading commit data... | |
| transactions.c | Loading commit data... | |
| unicode.c | Loading commit data... | |
| update.c | Loading commit data... |