mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-25 02:23:46 +00:00
This expands the types of peeling that `git_object_peel` knows how to do to include TAG -> BLOB peeling, and makes the errors slightly more consistent depending on the situation. It also adds a new special behavior where peeling to ANY will peel until the object type changes (e.g. chases TAGs to a non-TAG). Using this expanded peeling, this replaces peeling code that was embedded in `git_tag_peel` and `git_reset`. |
||
|---|---|---|
| .. | ||
| blob | ||
| commit | ||
| raw | ||
| tag | ||
| tree | ||
| lookup.c | ||
| message.c | ||
| peel.c | ||