Re: [PATCH 1/2] sha1_file: set whence in storage-specific info fn

2017-08-11 Thread Junio C Hamano
Jonathan Tan writes: > 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, includ

[PATCH 1/2] sha1_file: set whence in storage-specific info fn

2017-08-11 Thread Jonathan Tan
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