diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-27 07:55:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-27 07:55:09 +0200 |
commit | eabdcd4ab4b04af8f39e5ea3847b6d364acb874e (patch) | |
tree | 5f1a61054780d035391325b511e149e7397f6049 /builtin/fsck.c | |
parent | Merge branch 'mh/ref-lock-entry' (diff) | |
parent | pack: move for_each_packed_object() (diff) | |
download | git-eabdcd4ab4b04af8f39e5ea3847b6d364acb874e.tar.xz git-eabdcd4ab4b04af8f39e5ea3847b6d364acb874e.zip |
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 'builtin/fsck.c')
-rw-r--r-- | builtin/fsck.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c index 0ab13848a4..1e4c471b41 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -15,6 +15,7 @@ #include "progress.h" #include "streaming.h" #include "decorate.h" +#include "packfile.h" #define REACHABLE 0x0001 #define SEEN 0x0002 |