1. 08 Dec, 2017 1 commit
  2. 20 Nov, 2015 2 commits
  3. 07 Jul, 2014 1 commit
  4. 16 May, 2013 1 commit
    • Kevin Bracey's avatar
      decorate.c: compact table when growing · 83f0412f
      Kevin Bracey authored
      When growing the table, take the opportunity to "compact" it by removing
      entries with NULL decoration.
      Users may have "removed" decorations by passing NULL to
      insert_decoration. An object's table entry can't actually be removed
      during normal operation, as it would break the linear hash collision
      search. But we can remove NULL decoration entries when rebuilding the
      Signed-off-by: default avatarKevin Bracey <kevin@bracey.fi>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  5. 20 May, 2009 1 commit
  6. 17 May, 2009 1 commit
  7. 20 Aug, 2008 1 commit
  8. 03 Jul, 2008 1 commit
  9. 21 Apr, 2007 1 commit
    • Linus Torvalds's avatar
      Fix a copy-n-paste bug in the object decorator code. · 2a1a3dce
      Linus Torvalds authored
      When I did the object decorator thing, I made the "loop over the hash"
      function use the same logic for updating the hash, ie made them use
      	if (++j >= size)
      		j = 0;
      for both the hash update for both "insert" and "lookup"
      For some inexplicable reason I had an extraneous
      in the insert path (probably just from the fact that the old code there
      	if (j >= size)
      		j = 0;
      and when I made them use the same logic I just didn't remove the old
      extraneous line properly.
      This fixes it.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
  10. 16 Apr, 2007 1 commit