summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-27 05:55:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-27 05:55:09 (GMT)
commiteabdcd4ab4b04af8f39e5ea3847b6d364acb874e (patch)
tree5f1a61054780d035391325b511e149e7397f6049 /diff.c
parentf2dd90fc1c38ce1d1ebf626e39ddafad130875ae (diff)
parent7709f468fdeece2a99d60a581a4ced65cd2844df (diff)
downloadgit-eabdcd4ab4b04af8f39e5ea3847b6d364acb874e.zip
git-eabdcd4ab4b04af8f39e5ea3847b6d364acb874e.tar.gz
git-eabdcd4ab4b04af8f39e5ea3847b6d364acb874e.tar.bz2
Merge branch 'jt/packmigrate'
Code movement to make it easier to hack later. * jt/packmigrate: (23 commits) pack: move for_each_packed_object() pack: move has_pack_index() pack: move has_sha1_pack() pack: move find_pack_entry() and make it global pack: move find_sha1_pack() pack: move find_pack_entry_one(), is_pack_valid() pack: move check_pack_index_ptr(), nth_packed_object_offset() pack: move nth_packed_object_{sha1,oid} pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry() pack: move unpack_object_header() pack: move get_size_from_delta() pack: move unpack_object_header_buffer() pack: move {,re}prepare_packed_git and approximate_object_count pack: move install_packed_git() pack: move add_packed_git() pack: move unuse_pack() pack: move use_pack() pack: move pack-closing functions pack: move release_pack_memory() pack: move open_pack_index(), parse_pack_index() ...
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index a74cc08..3d3e553 100644
--- a/diff.c
+++ b/diff.c
@@ -21,6 +21,7 @@
#include "string-list.h"
#include "argv-array.h"
#include "graph.h"
+#include "packfile.h"
#ifdef NO_FAST_WORKING_DIRECTORY
#define FAST_WORKING_DIRECTORY 0