rev-parse: Identify short sha1 sums correctly.
authorJames Bowes <jbowes@dangerouslyinc.com>
Tue, 29 May 2007 23:29:51 +0000 (19:29 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 30 May 2007 00:53:44 +0000 (17:53 -0700)
commit1055880e7c096907ac87203dd83fdc6830251115
tree65e78da0fc62b4a9420e04a11508dd7b3158711f
parent693d2bc625e7168299741d673e7205e9d2c969df
rev-parse: Identify short sha1 sums correctly.

find_short_packed_object was not loading the pack index files.
Teach it to do so.

Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c