1. 01 Jun, 2009 1 commit
  2. 04 Feb, 2009 1 commit
  3. 26 Jan, 2009 1 commit
  4. 12 Oct, 2008 1 commit
  5. 01 Apr, 2008 1 commit
  6. 31 Mar, 2008 1 commit
  7. 17 Sep, 2007 1 commit
  8. 10 Sep, 2007 1 commit
  9. 19 Jul, 2007 1 commit
    • Carlos Rica's avatar
      Rename read_pipe() with read_fd() and make its buffer nul-terminated. · c4fba0a3
      Carlos Rica authored
      The new name is closer to the purpose of the function.
      
      A NUL-terminated buffer makes things easier when callers need that.
      Since the function returns only the memory written with data,
      almost always allocating more space than needed because final
      size is unknown, an extra NUL terminating the buffer is harmless.
      It is not included in the returned size, so the function
      remains working as before.
      
      Also, now the function allows the buffer passed to be NULL at first,
      and alloc_nr is now used for growing the buffer, instead size=*2.
      Signed-off-by: default avatarCarlos Rica <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      c4fba0a3
  10. 09 Jun, 2007 1 commit
  11. 07 Jun, 2007 1 commit
    • Junio C Hamano's avatar
      War on whitespace · a6080a0a
      Junio C Hamano authored
      This uses "git-apply --whitespace=strip" to fix whitespace errors that have
      crept in to our source files over time.  There are a few files that need
      to have trailing whitespaces (most notably, test vectors).  The results
      still passes the test, and build result in Documentation/ area is unchanged.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      a6080a0a
  12. 27 Feb, 2007 1 commit
    • Nicolas Pitre's avatar
      convert object type handling from a string to a number · 21666f1a
      Nicolas Pitre authored
      We currently have two parallel notation for dealing with object types
      in the code: a string and a numerical value.  One of them is obviously
      redundent, and the most used one requires more stack space and a bunch
      of strcmp() all over the place.
      
      This is an initial step for the removal of the version using a char array
      found in object reading code paths.  The patch is unfortunately large but
      there is no sane way to split it in smaller parts without breaking the
      system.
      Signed-off-by: default avatarNicolas Pitre <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      21666f1a
  13. 31 Aug, 2006 1 commit
  14. 04 Aug, 2006 1 commit
  15. 02 Aug, 2006 2 commits
  16. 10 Jul, 2006 1 commit
  17. 23 May, 2006 2 commits
  18. 04 Apr, 2006 1 commit
  19. 20 Dec, 2005 1 commit
  20. 29 Nov, 2005 1 commit
  21. 15 Jul, 2005 1 commit
  22. 29 May, 2005 1 commit
  23. 20 May, 2005 1 commit
    • Nicolas Pitre's avatar
      [PATCH] delta read · 91d7b8af
      Nicolas Pitre authored
      This makes the core code aware of delta objects and undeltafy them as
      needed.  The convention is to use read_sha1_file() to have
      undeltafication done automatically (most users do that already so this
      is transparent).
      
      If the delta object itself has to be accessed then it must be done
      through map_sha1_file() and unpack_sha1_file().
      
      In that context mktag.c has been switched to read_sha1_file() as there
      is no reason to do the full map+unpack manually.
      Signed-off-by: default avatarNicolas Pitre <[email protected]>
      Signed-off-by: default avatarLinus Torvalds <[email protected]>
      91d7b8af
  24. 29 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Rename git core commands to be "git-xxxx" to avoid name clashes. · a3df1801
      Linus Torvalds authored
      This also regularizes the make. The source files themselves don't get
      the "git-" prefix, because that's just inconvenient. So instead we just
      make the rule that "git-xxxx" depends on "xxxx.c", and do that for
      all the core programs (ie the old "git-mktag.c" got renamed to just
      "mktag.c" to match everything else).
      
      And "show-diff" got renamed to "git-diff-files" while at it, since
      that's what it really should be to match the other git-diff-xxx cases.
      a3df1801
  25. 28 Apr, 2005 1 commit
  26. 25 Apr, 2005 1 commit