Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-04-13 03:25:27 +0400
committerJunio C Hamano <gitster@pobox.com>2010-04-13 08:45:13 +0400
commit28de5b6b400fcdbd2d0665bc0cec7d7e4b813b43 (patch)
treeeaa842b6a6719b73269e8ba2f2652a4377d492d5 /tag.h
parent628511a5883fa809e86b34ebc147ac62eb214458 (diff)
tag.c: Refactor parse_tag_buffer to be saner to program
This code was horribly ugly to follow. The structure of the headers in an annotated tag object must follow a prescribed order, and most of these are required. Simplify the entire parsing logic by going through the headers in the order they are supposed to appear in, acting on each header as its identified in the buffer. This change has the same behavior as the older version, its just easier to read and maintain. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions