Skip to content

Restructure the tag object

Johan Herland git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Make tag names (i.e. the tag object's "tag" line) optionalmktag.c t/t3800-mktag.sh tag.c +1 more+42 -313 replies
2/4Introduce optional "keywords" on tag objectsmktag.c tag.c tag.h+52 -95 replies
3/4Documentation/git-mktag: Document the changes in tag object structureDocumentation/git-mktag.txt+27 -110 replies
4/4git-mktag tests: Expand on mktag selftests according to the new tag object structuret/t3800-mktag.sh+152 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Restructure the tag object

Ok, I'm pulling the 21-part patch series from hell. It's just not worth all the flak. Here's a 4-part patch series that tries to do the changes needed without all the crap^Wrefactoring.

Obviously this patch series does none of the much needed cleanup in this part of the code (e.g. better error messages, specifying encodings of header fields, possibly unifying the common parts between the parser and the verifier). I'll leave that cleanup to someone who writes less crappy code.

Here's the shortlog for the series:

Johan Herland (4):
Make tag names (i.e. the tag object's "tag" line) optional
Introduce optional "keywords" on tag objects
Documentation/git-mktag: Document the changes in tag object structure git-mktag tests: Expand on mktag selftests according to the new tag object structure

 Documentation/git-mktag.txt |   38 +++++++---
 mktag.c                     |   65 +++++++++++-----
 t/t3800-mktag.sh            |  172 ++++++++++++++++++++++++++++++++++++++++---
 tag.c                       |   44 +++++++++--
 tag.h                       |    3 +-
 5 files changed, 270 insertions(+), 52 deletions(-)

...Johan