summaryrefslogtreecommitdiffstats
path: root/decorate.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-11 22:36:14 +0200
committerJunio C Hamano <gitster@pobox.com>2017-08-11 23:35:02 +0200
commit3ab0fb0646d25266ec5bebd1420f691fc5a13d8a (patch)
tree28707272109b9d734cd723fdb0106c7bb60ff5d3 /decorate.c
parentMerge tag 'v2.14.1' (diff)
downloadgit-3ab0fb0646d25266ec5bebd1420f691fc5a13d8a.tar.xz
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 'decorate.c')
0 files changed, 0 insertions, 0 deletions