[PATCH 0/6] Refactor the tag object
- From
Johan Herland <johan@herland.net>
- Date
- Jun 4, 2007, 00:51 UTC
- Message-ID
- <200706040251.52613.johan@herland.net>
- In-Reply-To
- <200706040251.05286.johan@herland.net>
This patch series implements part of the ground work for the 'notes' feature discussed earlier in the thread "[PATCH 00/15] git-note: A mechanism for providing free-form after-the-fact annotations on commits".
The following patches refactors the tag object by: 1. Making the "tag" header optional 2. Introducing a new optional "keywords" header 3. Making the "tagger" header mandatory as far as possible 4. Do better and more thorough verification of tag objects
Unfortunately the first patch in the series is bigger than I would have liked, but I couldn't find an easy way to split it up.
Here's the shortlog:
Johan Herland (6):
Refactor git tag objects; make "tag" header optional; introduce new optional "keywords" header
git-show: When showing tag objects with no tag name, show tag object's SHA1 instead of an empty string
git-fsck: Do thorough verification of tag objects.
Documentation/git-mktag: Document the changes in tag object structure
git-mktag tests: Fix and expand the mktag tests according to the new tag object structure
Add fsck_verify_ref_to_tag_object() to verify that refname matches name stored in tag objectDocumentation/git-mktag.txt | 42 +++++-- builtin-fsck.c | 35 ++++++ builtin-log.c | 2 +- mktag.c | 148 +++++------------------- t/t3800-mktag.sh | 204 ++++++++++++++++++++++++++++++--- tag.c | 266 +++++++++++++++++++++++++++++++++++-------- tag.h | 4 +- 7 files changed, 507 insertions(+), 194 deletions(-)
Have fun!
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net