summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-11 13:36:14 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-11 14:35:02 -0700
commit3ab0fb0646d25266ec5bebd1420f691fc5a13d8a (patch)
tree28707272109b9d734cd723fdb0106c7bb60ff5d3 /builtin/commit.c
parent4274c698f46a9bc45834c4904e7e113450c042fb (diff)
downloadgit-3ab0fb0646d25266ec5bebd1420f691fc5a13d8a.tar.gz
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions