1. 16 12月, 2005 1 次提交
    • J
      get_sha1_basic(): corner case ambiguity fix · 6677c466
      Junio C Hamano 提交于
      When .git/refs/heads/frotz and .git/refs/tags/frotz existed, and
      the object name stored in .git/refs/heads/frotz were corrupt, we
      ended up picking tags/frotz without complaining.  Worse yet, if
      the corrupt .git/refs/heads/frotz was more than 40 bytes and
      began with hexadecimal characters, it silently overwritten the
      initial part of the returned result.
      
      This commit adds a couple of tests to demonstrate these cases,
      with a fix.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6677c466
  2. 15 12月, 2005 12 次提交
  3. 14 12月, 2005 20 次提交
  4. 13 12月, 2005 7 次提交