diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-04-05 16:53:32 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-04-08 03:36:53 +0300 |
commit | 81234673a1f7cd5d92f0dd5f03d1442ec1ed2d62 (patch) | |
tree | a493fd98182c9297071e37397399602ad64f2fea /src/commit.c | |
parent | 26f2c897b86613ed17d2bc9a35077517f57b234e (diff) | |
download | libgit2-81234673a1f7cd5d92f0dd5f03d1442ec1ed2d62.tar.gz |
tag: discover the target type if needed
Don't blindly pass the target type to git_tag_type2string as it will
give an empty string on GIT_OBJ_ANY which would cause us to create an
invalid tag object.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions