diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-02-05 21:03:02 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-07 15:05:48 -0800 |
commit | c4d9986f5f35c22010ed6dd58351b89fd4ee0def (patch) | |
tree | 2fbf11d3af6db6718393f7f4f9d96176c97c9e50 /Documentation/urls.txt | |
parent | sha1_file.c: move find_cached_object up so sha1_object_info can use it (diff) | |
download | tgif-c4d9986f5f35c22010ed6dd58351b89fd4ee0def.tar.xz |
sha1_object_info: examine cached_object store too
Cached object store was added in d66b37b (Add pretend_sha1_file()
interface. - 2007-02-04) as a way to temporarily inject some objects
to object store.
But only read_sha1_file() knows about this store. While it will return
an object from this store, sha1_object_info() will happily say
"object not found".
Teach sha1_object_info() about the cached store for consistency.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/urls.txt')
0 files changed, 0 insertions, 0 deletions