summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diffiter.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-08-27 11:53:59 -0700
committerRussell Belfer <rb@github.com>2012-08-27 11:53:59 -0700
commitd8057a5b0ed644b1f72a4eb80f82da7ce8977958 (patch)
tree43c962073e49ff204f92345a2d0713bb56a56ffd /tests-clar/diff/diffiter.c
parent2b175ca972f2531e5ef46d24abeb831d90033a33 (diff)
downloadlibgit2-d8057a5b0ed644b1f72a4eb80f82da7ce8977958.tar.gz
Make git_object_peel a bit smarter
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`.
Diffstat (limited to 'tests-clar/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions