diff options
| author | Jonathan Tan <jonathantanmy@google.com> | 2017-08-11 13:36:14 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-11 14:35:02 -0700 |
| commit | 3ab0fb0646d25266ec5bebd1420f691fc5a13d8a (patch) | |
| tree | 28707272109b9d734cd723fdb0106c7bb60ff5d3 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | Merge tag 'v2.14.1' (diff) | |
| download | git-3ab0fb0646d25266ec5bebd1420f691fc5a13d8a.tar.gz git-3ab0fb0646d25266ec5bebd1420f691fc5a13d8a.zip | |
sha1_file: set whence in storage-specific info fn
Move the setting of oi->whence to sha1_loose_object_info() and
packed_object_info().
This allows sha1_object_info_extended() to not need to know about the
delta base cache. This will be useful during a future refactoring in
which packfile-related functions, including the handling of the delta
base cache, will be moved to a separate file.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
