| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
The test refs::iterator::foreach_name iterates through every reference
and copies its name into a local vector. While the test makes sure to
free the vector afterwards, the copied reference names are not being
free'd. Fix that.
|
| |
|
|
| |
Ensure that we can recurse into directories via symbolic links.
|
| |
|
|
|
| |
If we remove a reference while we're iterating through the packed refs,
the position in the iterator will be off.
|
| |
|
|
|
| |
This covers diff print, push, and ref foreach. This also has a
fix for a small memory leak in the push tests.
|
| |
|