Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 28, 2014
  1. sprohaska Junio C Hamano

    copy_fd(): do not close the input file descriptor

    sprohaska authored gitster committed
    The caller, not this function, opened the file descriptor; it is
    selfish for the callee to close it when it is done reading from it.
    The caller may want an option to rewind and re-read the contents
    after it returns.
    
    Simplify the loop to copy the input in full to the output; its
    body essentially is what a call to write_in_full() helper does.
    
    Signed-off-by: Steffen Prohaska <prohaska@zib.de>
    Helped-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Nov 26, 2007
  1. sprohaska Junio C Hamano

    Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.c

    sprohaska authored gitster committed
    Using the helper function to test for absolute paths makes porting easier.
    
    Signed-off-by: Steffen Prohaska <prohaska@zib.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.