1. 31 5月, 2005 2 次提交
    • J
      [PATCH] diff-helper: Fix R/C score parsing under -z flag. · ddafa7e9
      Junio C Hamano 提交于
      The score number that follow R/C status were parsed but the
      parse pointer was not updated, causing the entire line to become
      unrecognized.  This patch fixes this problem.
      
      There was a test missing to catch this breakage, which this
      commit adds as t4009-diff-rename-4.sh.  The diff-raw tests used
      in related t4005-diff-rename-2.sh (the same test without -z) and
      t4007-rename-3.sh were stricter than necessarily, despite that
      the comment for the tests said otherwise.  This patch also
      corrects them.
      
      The documentation is updated to say that the status can
      optionally be followed by a number called "score"; it does not
      have to stay similarity index forever and there is no reason to
      limit it only to C and R.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ddafa7e9
    • L
      git-init-db: set up the full default environment · cad88fdf
      Linus Torvalds 提交于
      Create .git/refs/{heads,tags} and make .git/HEAD be a symlink to
      (the as yet non-existent) .git/refs/heads/master.
      cad88fdf
  2. 30 5月, 2005 19 次提交
  3. 28 5月, 2005 2 次提交
    • D
      [PATCH] check_file_directory_conflict path fix · 8310c2c0
      David Meybohm 提交于
      check_file_directory_conflict can give the wrong answers. This is
      because the wrong length is passed to cache_name_pos. The length
      passed should be the length of the whole path from the root, not
      the length of each path subcomponent.
      
      	$ git-init-db
      	defaulting to local storage area
      	$ mkdir path && touch path/file
      	$ git-update-cache --add path/file
      	$ rm path/file
      	$ mkdir path/file && touch path/file/f
      	$ git-update-cache --add path/file/f  <-- Conflict ignored
      	$
      Signed-off-by: NDavid Meybohm <dmeybohmlkml@bellsouth.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8310c2c0
    • L
      git-diff-tree: simplify header output with '-z' · 84c1afd7
      Linus Torvalds 提交于
      No need to make them multiple lines, in fact we explicitly don't want that.
      
      This also fixes a 64-bit problem pointed out by Markus F.X.J. Oberhumer,
      where we gave "%.*s" a "ptrdiff_t" length argument instead of an "int".
      84c1afd7
  4. 27 5月, 2005 13 次提交
  5. 26 5月, 2005 4 次提交