Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make "cat-file" use "read_object_with_reference()"
This means that you can take a tag object, and do git-cat-file commit tagname and it will cat the commit that the tag points to. Or you can cat the tree that a commit (or tag) points to. It still gives the old behaviour if you just give it the original type, ie if you want to see the tag object itself, you'd do git-cat-file -t tagname and you'd get the expected tag output.
- Loading branch information