1. 08 11月, 2011 2 次提交
  2. 05 11月, 2011 2 次提交
    • L
      fetch: do not store peeled tag object names in FETCH_HEAD · 7a2b128d
      Linus Torvalds 提交于
      We do not want to record tags as parents of a merge when the user does
      "git pull $there tag v1.0" to merge tagged commit, but that is not a good
      enough excuse to peel the tag down to commit when storing in FETCH_HEAD.
      The caller of underlying "git fetch $there tag v1.0" may have other uses
      of information contained in v1.0 tag in mind.
      
      [jc: the test adjustment is to update for the new expectation]
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7a2b128d
    • J
      Split GPG interface into its own helper library · 2f47eae2
      Junio C Hamano 提交于
      This mostly moves existing code from builtin/tag.c (for signing)
      and builtin/verify-tag.c (for verifying) to a new gpg-interface.c
      file to provide a more generic library interface.
      
       - sign_buffer() takes a payload strbuf, a signature strbuf, and a signing
         key, runs "gpg" to produce a detached signature for the payload, and
         appends it to the signature strbuf. The contents of a signed tag that
         concatenates the payload and the detached signature can be produced by
         giving the same strbuf as payload and signature strbuf.
      
       - verify_signed_buffer() takes a payload and a detached signature as
         <ptr, len> pairs, and runs "gpg --verify" to see if the payload matches
         the signature. It can optionally capture the output from GPG to allow
         the callers to pretty-print it in a way more suitable for their
         contexts.
      
      "verify-tag" (aka "tag -v") used to save the whole tag contents as if it
      is a detached signature, and fed gpg the payload part of the tag. It
      relied on gpg to fail when the given tag is not signed but just is
      annotated.  The updated run_gpg_verify() function detects the lack of
      detached signature in the input, and errors out without bothering "gpg".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2f47eae2
  3. 20 10月, 2011 8 次提交
  4. 19 10月, 2011 7 次提交
  5. 18 10月, 2011 18 次提交
  6. 17 10月, 2011 3 次提交