libify verify_tag()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tag -v: use ‘git verify-tag’ without dashbuiltin/ | +2 | 2 replies | |
| 2/5 | verify-tag: use sigchain library to block SIGPIPEbuiltin/ | +8 | 0 replies | |
| 3/5 | Expose verify_tag()Makefile builtin/ tag.h +1 more | +4 | 0 replies | |
| 4/5 | tag -v: Do not spawn a separate process for verify-tagbuiltin/ | +1 | 1 reply | |
| 5/5 | verify_tag_signature(): let caller look up tag object sha1builtin/ builtin/ tag.h +1 more | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH/RFC 0/5] libify verify_tag()
Hi,
I noticed that ‘git tag -v’ runs git-verify-tag (dashed form), and while fixing that, I thought, why not make cmd_tag() run verify_tag() directly? Here is what that would look like.
The performance impact is pretty negligible: t/t7004-tag.sh is about 2% faster after the change here (with hot or cold cache, it doesn’t matter).
What do you think?
Jonathan Nieder (5):
tag: Run ‘git verify-tag’ using its undashed name
verify-tag: use sigchain library to block SIGPIPE Expose verify_tag()
tag: Do not spawn a separate process for verify-tag verify_tag_signature(): let caller look up tag object sha1
Makefile | 1 + builtin/tag.c | 6 +-- builtin/verify-tag.c | 84 ++++------------------------------ tag.h | 2 + builtin/verify-tag.c => verify-tag.c | 49 ++++---------------- 5 files changed, 22 insertions(+), 120 deletions(-) copy builtin/verify-tag.c => verify-tag.c (61%)