1. 30 4月, 2005 2 次提交
  2. 29 4月, 2005 1 次提交
    • R
      [PATCH] create tar archives of tree on the fly · 731ab9cc
      Rene Scharfe 提交于
      This is an improved version of tar-tree, a streaming archive creator for
      GIT.  The major added feature is blocking; all write(2) calls now have a
      size of 10240, just as GNU tar (and tape drives) likes them.  The
      buffering overhead does not seem to degrade performance because most
      files in the repositories I tested this with are smaller than 10KB, so
      we need fewer system calls. 
      
      File names are still restricted to 500 bytes and the archive format
      currently only allows for files up to 8GB.  Both restrictions can be
      lifted if need be with more pax extended headers. 
      
      The archive format used is the pax interchange format, i.e.  POSIX tar
      format.  It can be read by (and created with) GNU tar.  If I read the
      specs correctly tar-tree should now be standards compliant (modulo
      bugs). 
      
      Because it streams the archive (think ls-tree merged with cat-file),
      tar-tree doesn't need to create any temporary files.  That makes it
      quite fast. 
      
      It accepts tree IDs and commit IDs as first parameter.  In the latter
      case tar-tree tries to get the commit date out of the committer line. 
      Else all files in the archive are time-stamped with the current time. 
      
      An optional second parameter is used as a path prefix for all files in
      the archive.  Example:
      
         $ tar-tree a2755a80f40e5794ddc20e00f781af9d6320fafb \
         linux-2.6.12-rc3 | bzip9 -9 > linux-2.6.12-rc3.tar.bz2
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      731ab9cc
  3. 28 4月, 2005 2 次提交
  4. 26 4月, 2005 4 次提交
    • J
      [PATCH] Introduce diff-tree-helper. · d1df5743
      Junio C Hamano 提交于
      This patch introduces a new program, diff-tree-helper.  It reads
      output from diff-cache and diff-tree, and produces a patch file.
      The diff format customization can be done the same way the
      show-diff uses; the same external diff interface introduced by
      the previous patch to drive diff from show-diff is used so this
      is not surprising.
      
      It is used like the following examples:
      
         $ diff-cache --cached -z <tree> | diff-tree-helper -z -R paths...
         $ diff-tree -r -z <tree1> <tree2> | diff-tree-helper -z paths...
      
       - As usual, the use of the -z flag is recommended in the script
         to pass NUL-terminated filenames through the pipe between
         commands.
      
       - The -R flag is used to generate reverse diff.  It does not
         matter for diff-tree case, but it is sometimes useful to get
         a patch in the desired direction out of diff-cache.
      
       - The paths parameters are used to restrict the paths that
         appears in the output.  Again this is useful to use with
         diff-cache, which, unlike diff-tree, does not take such paths
         restriction parameters.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d1df5743
    • J
      [PATCH] Split external diff command interface to a separate file. · 86436c28
      Junio C Hamano 提交于
      With this patch, the non-core'ish part of show-diff command that
      invokes an external "diff" comand to obtain patches is split
      into a separate file.  The next patch will introduce a new
      command, diff-tree-helper, which uses this common diff interface
      to format diff-tree and diff-cache output into a patch form.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      86436c28
    • L
      Add the git-*-script files to the install · cd2fb81d
      Linus Torvalds 提交于
      cd2fb81d
    • L
      Add "tag" objects that can be used to sign other objects. · ec4465ad
      Linus Torvalds 提交于
      You use "git-mktag" to create them, and fsck-cache knows how to parse them.
      ec4465ad
  5. 24 4月, 2005 3 次提交
  6. 23 4月, 2005 1 次提交
  7. 22 4月, 2005 2 次提交
  8. 21 4月, 2005 2 次提交
  9. 20 4月, 2005 3 次提交
  10. 19 4月, 2005 7 次提交
  11. 18 4月, 2005 2 次提交
  12. 17 4月, 2005 1 次提交
    • L
      Remove "merge-tree.c" · 2fbdd131
      Linus Torvalds 提交于
      It's there in the history if somebody wants to resurrect it, but it
      seems to have been successfully superceded by the new and improved
      index-merge thing, where we do all merging entirely in the index.
      2fbdd131
  13. 14 4月, 2005 1 次提交
  14. 13 4月, 2005 4 次提交
    • J
      [PATCH] No need to clean temp_git_file_* anymore · 42d545e8
      Junio C Hamano 提交于
      Ancient cat-file command used to leave temp_git_file_* and there
      was support to remove them in the clean target of Makefile.  I
      do not think it is needed anymore.
      
      From: Junio C Hamano <junkio@cox.net>
      Signed-off-by: NPetr Baudis <pasky@ucw.cz>
      42d545e8
    • P
      [PATCH] Make nsec checking optional · bdd4da59
      Petr Baudis 提交于
      The nsec field of ctime/mtime is now checked only with -DNSEC defined during
      compilation. nsec acts broken since it is stored in the icache but apparently
      just gets to zero when flushed to filesystem not supporting it (e.g. ext3),
      creating illusions of false changes. At least that's my impression.
      Signed-off-by: NPetr Baudis <pasky@ucw.cz>
      bdd4da59
    • P
      [PATCH] SHA1 naive collision checking · 5c2a7fbc
      Petr Baudis 提交于
      When compiled with -DCOLLISION_CHECK, we will check against SHA1
      collisions when writing to the object database.
      
      From: Christopher Li <chrislgit@chrisli.org>
      Signed-off-by: NPetr Baudis <pasky@ucw.cz>
      5c2a7fbc
    • P
      [PATCH] ls-tree for listing trees · 7912c070
      Petr Baudis 提交于
      ls-tree tool provides just a way to export the binary tree objects
      to a usable text format. This is bound to be useful in variety
      of scripts, although none of those I have currently uses it.
      But e.g. the simple script I've sent to HPA for purging the object
      database uses it.
      Signed-off-by: NPetr Baudis <pasky@ucw.cz>
      7912c070
  15. 12 4月, 2005 3 次提交
  16. 10 4月, 2005 2 次提交