diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-08 15:11:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-09 14:36:26 -0700 |
commit | e42a96e7726365557b5865957927dc1ca272cad2 (patch) | |
tree | 51d1bc975f8aa1ff25a8c915f8b60e40ea243f0a /t/t7111-reset-table.sh | |
parent | apply: clear_image() clears things a bit more (diff) | |
download | tgif-e42a96e7726365557b5865957927dc1ca272cad2.tar.xz |
apply: refactor read_file_or_gitlink()
Reading a blob out of the object store does not have to require that the
caller has a cache entry for it.
Create a read_blob_object() helper function that takes the object name and
mode, and use it to reimplement the original function as a thin wrapper to
it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7111-reset-table.sh')
0 files changed, 0 insertions, 0 deletions