Skip to content
Commits on Sep 14, 2009
  1. @npitre @gitster

    Nicolas Pitre has a new email address

    npitre committed with gitster Sep 14, 2009
    Due to problems at, my email address is no longer
    valid.  From now on, should be used instead.
    Signed-off-by: Nicolas Pitre <>
    Signed-off-by: Junio C Hamano <>
Commits on May 1, 2007
  1. Fix compilation of test-delta

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

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

    awhitcroft committed with Junio C Hamano Jan 8, 2007
    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 <>
    Signed-off-by: Junio C Hamano <>
Commits on Dec 20, 2006
  1. simplify inclusion of system header files.

    Junio C Hamano committed Dec 19, 2006
    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 <>
Commits on Jul 30, 2005
  1. [PATCH] Unify usage strings declaration

    Petr Baudis committed with Junio C Hamano Jul 29, 2005
    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 <>
    Signed-off-by: Junio C Hamano <>
  2. @proski

    [PATCH] mmap error handling

    proski committed with Junio C Hamano Jul 29, 2005
    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
    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 <>
    Signed-off-by: Junio C Hamano <>
Commits on Jun 29, 2005
  1. [PATCH] Fixlets on top of Nico's clean-up.

    Junio C Hamano committed with Linus Torvalds Jun 29, 2005
    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 <>
    Signed-off-by: Linus Torvalds <>
Commits on Jun 26, 2005
  1. Add a "max_size" parameter to diff_delta()

    Linus Torvalds committed Jun 25, 2005
    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
Commits on May 19, 2005
  1. [PATCH] Deltification library work by Nicolas Pitre.

    Nicolas Pitre committed with Linus Torvalds May 19, 2005
    This patch adds the basic library functions to create and replay delta
    information.  Also included is a test-delta utility to validate the
    diff-delta was based on LibXDiff written by Davide Libenzi
    Signed-off-by: Nicolas Pitre <>
    Signed-off-by: Davide Libenzi <>
    Signed-off-by: Linus Torvalds <>
Something went wrong with that request. Please try again.