Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 22, 2010
  1. Linus Torvalds Junio C Hamano

    make "index-pack" a built-in

    torvalds authored gitster committed
    This required some fairly trivial packfile function 'const' cleanup,
    since the builtin commands get a const char *argv[] array.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 27, 2008
  1. Linus Torvalds Junio C Hamano

    index-pack: be careful after fixing up the header/footer

    torvalds authored gitster committed
    The index-pack command, when processing a thin pack, fixed up the pack
    after-the-fact.  It forgets to fsync the result, because it only did that
    in one path rather in all cases of fixup.
    
    This moves the fsync_or_die() to the fix-up routine itself, rather than
    doing it in one of the callers, so that all cases are covered.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on May 31, 2008
  1. Linus Torvalds Junio C Hamano

    Make pack creation always fsync() the result

    torvalds authored gitster committed
    This means that we can depend on packs always being stable on disk,
    simplifying a lot of the object serialization worries.  And unlike loose
    objects, serializing pack creation IO isn't going to be a performance
    killer.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.