summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diffiter.c
diff options
context:
space:
mode:
authorErik van Zijst <erik.van.zijst@gmail.com>2012-11-02 10:28:17 -0700
committerErik van Zijst <erik.van.zijst@gmail.com>2012-11-02 10:28:17 -0700
commit6bb9fea13ee2da6475ac799acd5f8296bc1a8537 (patch)
treed9947d87d5f11136993cc4cf08c3ea00897329dc /tests-clar/diff/diffiter.c
parente30c052c4e46df9d8f929ab4f86f34718bb15a5d (diff)
downloadlibgit2-6bb9fea13ee2da6475ac799acd5f8296bc1a8537.tar.gz
tags: Fixed the tag parser to correctly treat the message field as optional.
This fix makes libgit2 capable of parsing annotated tag objects that lack the optional message/description field. Previously, libgit2 treated this field as mandatory and raised a tag_error on such tags. However, the message field is optional. An example of such a tag is refs/tags/v2.6.16.31-rc1 in Linux: $ git cat-file tag refs/tags/v2.6.16.31-rc1 object afaa018cefb6af63befef1df7d8febaae904434f type commit tag v2.6.16.31-rc1 tagger Adrian Bunk <bunk@stusta.de> 1162716505 +0100 $
Diffstat (limited to 'tests-clar/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions