1. 14 1月, 2007 10 次提交
  2. 24 8月, 2006 2 次提交
    • J
      Convert memset(hash,0,20) to hashclr(hash). · a8e0d16d
      Junio C Hamano 提交于
      In the same spirit as hashcmp() and hashcpy().
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      a8e0d16d
    • S
      Convert memcpy(a,b,20) to hashcpy(a,b). · e702496e
      Shawn Pearce 提交于
      This abstracts away the size of the hash values when copying them
      from memory location to memory location, much as the introduction
      of hashcmp abstracted away hash value comparsion.
      
      A few call sites were using char* rather than unsigned char* so
      I added the cast rather than open hashcpy to be void*.  This is a
      reasonable tradeoff as most call sites already use unsigned char*
      and the existing hashcmp is also declared to be unsigned char*.
      
      [jc: Splitted the patch to "master" part, to be followed by a
       patch for merge-recursive.c which is not in "master" yet.
      
       Fixed the cast in the latter hunk to combine-diff.c which was
       wrong in the original.
      
       Also converted ones left-over in combine-diff.c, diff-lib.c and
       upload-pack.c ]
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e702496e
  3. 23 8月, 2006 2 次提交
  4. 22 8月, 2006 8 次提交
  5. 21 8月, 2006 1 次提交
  6. 18 8月, 2006 2 次提交
  7. 17 8月, 2006 8 次提交
  8. 16 8月, 2006 7 次提交