]> git.proxmox.com Git - libgit2.git/commit - tests/object/tag/read.c
tag: ignore extra header fields
authorCarlos Martín Nieto <cmn@dwim.me>
Mon, 25 Apr 2016 10:16:05 +0000 (12:16 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sat, 1 Oct 2016 15:40:33 +0000 (17:40 +0200)
commit16541b864d960c6a600938d82c7472f5a188206e
tree49c4a0a55f517c33b8e4f8721249824476599419
parent211e117a0590583a720c53172406f34186c543bd
tag: ignore extra header fields

While no extra header fields are defined for tags, git accepts them by
ignoring them and continuing the search for the message. There are a few
tags like this in the wild which git parses just fine, so we should do
the same.
src/tag.c
tests/object/tag/read.c