Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jan 27, 2006

  1. checkout: do not make a temporary copy of symlink target.

    If the index records an insanely long symbolic link, copying
    into the temporary would overflow the buffer (noticed by Mark
    Because read_sha1_file() terminates the returned buffer with NUL
    since late May 2005, there is no reason to copy it anymore.
    Signed-off-by: Junio C Hamano <>

Jan 06, 2006

  1. Alex Riesen

    trivial: O_EXCL makes O_TRUNC redundant

    Signed-off-by: Alex Riesen <>
    Signed-off-by: Junio C Hamano <>
    authored Junio C Hamano committed

Oct 05, 2005

  1. Return error when not checking out an entry due to dirtiness.

    Without -f flag, 'git-checkout-index foo.c' issued an error message
    when foo.c already existed in the working tree and did not match index.
    However it did not return an error from the underlying checkout_entry()
    function and resulted in a successful exit(0).
    Signed-off-by: Junio C Hamano <>

Sep 08, 2005

  1. Big tool rename.

    As promised, this is the "big tool rename" patch.  The primary differences
    since 0.99.6 are:
      (1) git-*-script are no more.  The commands installed do not
          have any such suffix so users do not have to remember if
          something is implemented as a shell script or not.
      (2) Many command names with 'cache' in them are renamed with
          'index' if that is what they mean.
    There are backward compatibility symblic links so that you and
    Porcelains can keep using the old names, but the backward
    compatibility support  is expected to be removed in the near
    Signed-off-by: Junio C Hamano <>

Jul 14, 2005

  1. Fix replacing of a directory with a file/symlink in git-checkout-cache

    The symlink case had never worked, and the file case was broken by the
    O_EXCL change because the error return changed from EISDIR to EEXIST.
    Fix both problems by just moving the test for an existing directory to a
    more logical place.
  2. Make "git-checkout" create files with O_EXCL

    We should always have unlinked any old ones before, but this just makes
    sure that we never over-write any old file.
    A quick "grep" now shows that all the core tools that open files for
    writing use O_EXCL, ie we never overwrite an existing file in place.

Jul 06, 2005

  1. [PATCH] Let umask do its work upon filesystem object creation.

    IIRC our strategy was to let the users' umask take care of the
    final mode bits.  This patch fixes places that deviate from it.
    Signed-off-by: Junio C Hamano <>
    Signed-off-by: Linus Torvalds <>
    authored Linus Torvalds committed

Jun 06, 2005

  1. Fix entry.c dependency and compile problem

    Bad Linus.
  2. Make fiel checkout function available to the git library

    The merge stuff will want it soon, and we don't want to
    duplicate all the work..
Something went wrong with that request. Please try again.