Re: [PATCH v4 6/6] tag.c: Change gpg_verify_tag argument to sha1

2016-04-04 Thread Eric Sunshine
On Mon, Apr 4, 2016 at 10:10 PM, Santiago Torres wrote: > On Mon, Apr 04, 2016 at 10:00:17PM -0400, Eric Sunshine wrote: >> On Mon, Apr 4, 2016 at 6:22 PM, wrote: >> > - return gpg_verify_tag(name, GPG_VERIFY_VERBOSE); >> > + return

Re: [PATCH v4 6/6] tag.c: Change gpg_verify_tag argument to sha1

2016-04-04 Thread Santiago Torres
On Mon, Apr 04, 2016 at 10:00:17PM -0400, Eric Sunshine wrote: > On Mon, Apr 4, 2016 at 6:22 PM, wrote: > > tag.c: Change gpg_verify_tag argument to sha1 > > s/Change/change/ Sorry I've been consistently missing these... > > > The gpg_verify_tag function resolves the ref

Re: [PATCH v4 6/6] tag.c: Change gpg_verify_tag argument to sha1

2016-04-04 Thread Eric Sunshine
On Mon, Apr 4, 2016 at 6:22 PM, wrote: > tag.c: Change gpg_verify_tag argument to sha1 s/Change/change/ > The gpg_verify_tag function resolves the ref for any existing object. > However, git tag -v resolves to only tag-refs. We can provide support > for sha1 by moving the

[PATCH v4 6/6] tag.c: Change gpg_verify_tag argument to sha1

2016-04-04 Thread santiago
From: Santiago Torres The gpg_verify_tag function resolves the ref for any existing object. However, git tag -v resolves to only tag-refs. We can provide support for sha1 by moving the refname resolution code out of gpg_verify_tag and allow for the object's sha1 as an argument.