author | Linus Torvalds <torvalds@osdl.org> | |
Fri, 30 Jun 2006 04:38:55 +0000 (21:38 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 30 Jun 2006 06:48:31 +0000 (23:48 -0700) | ||
commit | fc046a75d539a78e6b2c16534c4078617a69a327 | |
tree | 03842bdfab234301a0a0c693f30c087a58eeb51f | tree | snapshot |
parent | 8dbbd14ea3ae1b4e825f1e7d314afddf26c67298 | commit | diff |
Abstract out accesses to object hash array
There are a few special places where some programs accessed the object
hash array directly, which bothered me because I wanted to play with some
simple re-organizations.
So this patch makes the object hash array data structures all entirely
local to object.c, and the few users who wanted to look at it now get to
use a function to query how many object index entries there can be, and to
actually access the array.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
There are a few special places where some programs accessed the object
hash array directly, which bothered me because I wanted to play with some
simple re-organizations.
So this patch makes the object hash array data structures all entirely
local to object.c, and the few users who wanted to look at it now get to
use a function to query how many object index entries there can be, and to
actually access the array.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fsck-objects.c | diff | blob | history | |
name-rev.c | diff | blob | history | |
object.c | diff | blob | history | |
object.h | diff | blob | history |