Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 14, 2009
  1. @npitre

    Nicolas Pitre has a new email address

    npitre authored committed
    Due to problems at cam.org, my nico@cam.org email address is no longer
    valid.  From now on, nico@fluxnic.net should be used instead.
    
    Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on May 1, 2007
  1. Fix compilation of test-delta

    Martin Koegler authored Junio C Hamano committed
    The code used write_in_full() without pulling its declarations from the
    header file.  When header is included, usage[] collides with usage()
    function.
    
    Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Jan 8, 2007
  1. @awhitcroft

    short i/o: fix calls to write to use xwrite or write_in_full

    awhitcroft authored Junio C Hamano committed
    We have a number of badly checked write() calls.  Often we are
    expecting write() to write exactly the size we requested or fail,
    this fails to handle interrupts or short writes.  Switch to using
    the new write_in_full().  Otherwise we at a minimum need to check
    for EINTR and EAGAIN, where this is appropriate use xwrite().
    
    Note, the changes to config handling are much larger and handled
    in the next patch in the sequence.
    
    Signed-off-by: Andy Whitcroft <apw@shadowen.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Dec 20, 2006
  1. simplify inclusion of system header files.

    Junio C Hamano authored
    This is a mechanical clean-up of the way *.c files include
    system header files.
    
     (1) sources under compat/, platform sha-1 implementations, and
         xdelta code are exempt from the following rules;
    
     (2) the first #include must be "git-compat-util.h" or one of
         our own header file that includes it first (e.g. config.h,
         builtin.h, pkt-line.h);
    
     (3) system headers that are included in "git-compat-util.h"
         need not be included in individual C source files.
    
     (4) "git-compat-util.h" does not have to include subsystem
         specific header files (e.g. expat.h).
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Jul 30, 2005
  1. [PATCH] Unify usage strings declaration

    Petr Baudis authored Junio C Hamano committed
    All usage strings are now declared as static const char [].
    
    This is carried over from my old git-pb branch.
    
    Signed-off-by: Petr Baudis <pasky@ucw.cz>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. @proski

    [PATCH] mmap error handling

    proski authored Junio C Hamano committed
    I have reviewed all occurrences of mmap() in git and fixed three types
    of errors/defects:
    
    1) The result is not checked.
    2) The file descriptor is closed if mmap() succeeds, but not when it
    fails.
    3) Various casts applied to -1 are used instead of MAP_FAILED, which is
    specifically defined to check mmap() return value.
    
    [jc: This is a second round of Pavel's patch.  He fixed up the problem
    that close() potentially clobbering the errno from mmap, which
    the first round had.]
    
    Signed-off-by: Pavel Roskin <proski@gnu.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Jun 29, 2005
  1. [PATCH] Fixlets on top of Nico's clean-up.

    Junio C Hamano authored Linus Torvalds committed
    If we prefer 0 as maxsize for diff_delta() to say "unlimited", let's be
    consistent about it.
    
    This patch also fixes type mismatch in a call to get_delta_hdr_size()
    from packed_delta_info().
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on Jun 26, 2005
  1. Add a "max_size" parameter to diff_delta()

    Linus Torvalds authored
    Anything that generates a delta to see if two objects are close usually
    isn't interested in the delta ends up being bigger than some specified
    size, and this allows us to stop delta generation early when that
    happens.
Commits on May 19, 2005
  1. [PATCH] Deltification library work by Nicolas Pitre.

    Nicolas Pitre authored Linus Torvalds committed
    This patch adds the basic library functions to create and replay delta
    information.  Also included is a test-delta utility to validate the
    code.
    
    diff-delta was based on LibXDiff written by Davide Libenzi
    
    Signed-off-by: Nicolas Pitre <nico@cam.org>
    Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Something went wrong with that request. Please try again.