Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 07, 2011

  1. Nguyễn Thái Ngọc Duy

    Add const to parse_{commit,tag}_buffer()

    Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    pclouds authored gitster committed

Nov 10, 2010

  1. Michael J Gruber

    verify-tag: factor out signature detection

    into tag.h/c for later reuse and modification.
    
    Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    mjg authored gitster committed

Apr 13, 2010

  1. Shawn O. Pearce

    tag.c: Parse tagger date (if present)

    Just like with committer dates, we parse the tagger date into the
    struct tag so its available for further downstream processing.
    However since the tagger header was not introduced until Git 0.99.1
    we must consider it optional.  For tags missing this header we use
    the default date of 0.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    spearce authored gitster committed
  2. Shawn O. Pearce

    tag.h: Remove unused signature field

    Its documented as unused.  So lets just drop it from the structure
    since we haven't ever used it.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    spearce authored gitster committed

Nov 03, 2005

  1. Be careful when dereferencing tags.

    One caller of deref_tag() was not careful enough to make sure
    what deref_tag() returned was not NULL (i.e. we found a tag
    object that points at an object we do not have).  Fix it, and
    warn about refs that point at such an incomplete tag where
    needed.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano authored

Aug 05, 2005

  1. Fix send-pack for non-commitish tags.

    Again I left the v2.6.11-tree tag behind.  My bad.
    
    This commit makes sure that we do not barf when pushing a ref
    that is a non-commitish tag.  You can update a remote ref under
    the following conditions:
    
     * You can always use --force.
     * Creating a brand new ref is OK.
     * If the remote ref is exactly the same as what you are
       pushing, it is OK (nothing is pushed).
     * You can replace a commitish with another commitish which is a
       descendant of it, if you can verify the ancestry between them;
       this and the above means you have to have what you are replacing.
     * Otherwise you cannot update; you need to use --force.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Junio C Hamano authored

Jun 08, 2005

  1. [PATCH] Anal retentive 'const unsigned char *sha1'

    Make 'sha1' parameters const where possible
    
    Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    Jason McMullan authored Linus Torvalds committed

May 06, 2005

  1. [PATCH] don't load and decompress objects twice with parse_object()

    It turns out that parse_object() is loading and decompressing given
    object to free it just before calling the specific object parsing
    function which does mmap and decompress the same object again. This
    patch introduces the ability to parse specific objects directly from a
    memory buffer.
    
    Without this patch, running git-fsck-cache on the kernel repositorytake:
    
    	real    0m13.006s
    	user    0m11.421s
    	sys     0m1.218s
    
    With this patch applied:
    
    	real    0m8.060s
    	user    0m7.071s
    	sys     0m0.710s
    
    The performance increase is significant, and this is kind of a
    prerequisite for sane delta object support with fsck.
    
    Signed-off-by: Nicolas Pitre <nico@cam.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    Nicolas Pitre authored Linus Torvalds committed

Apr 28, 2005

  1. Fix up recent object model cleanups

    Make sure the Makefile knows about the object header dependencies, and
    add declarations for tag lookup/parsing.
    Linus Torvalds authored
  2. [PATCH] Add tag header/parser to library

    This adds preliminary support for tags in the library. It doesn't even
    store the signature, however, let alone provide any way of checking it.
    
    Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    Daniel Barkalow authored Linus Torvalds committed
Something went wrong with that request. Please try again.