Code

Fix "checkout-cache.c" mis-use of read_sha1_file() interface.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 9 Apr 2005 18:24:41 +0000 (11:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 9 Apr 2005 18:24:41 +0000 (11:24 -0700)
commit8d3af1d53255ac36494492720ebb83e932b0c0bc
tree09c369f30a7ec350dc98496c5cb752280f6dfe51
parentf7391ce3bd306c5731bc8206f8a0fa0947ca9474
Fix "checkout-cache.c" mis-use of read_sha1_file() interface.

It's supposed to test the returned file type, not think that read_sha1_file()
tests it. Confusion from "cat-file" command line usage.
checkout-cache.c