diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-10-10 03:50:34 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-10 03:50:34 +0400 |
commit | 5a6850e8aae7c6ef4f22e07cb620eb9325543732 (patch) | |
tree | 22a152fdd75725437083b834db3eb588f42dc0a7 /patch-id.c | |
parent | 8c51242873d63cfaf87fa2e2e407198a6ad2c3d0 (diff) |
Fix git-verify-tag for light-weight tags
It currently exits printing "git-cat-file SHA1: bad file", while
instead we must just abort the verification for light-weight
tags (e.g. referring to commit objects).
[jc: tag objects can tag anything not just commits, so I fixed
up the original patch slightly. you should be able to validate
a signed tag that points at a blob object. ]
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'patch-id.c')
0 files changed, 0 insertions, 0 deletions