diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-08-20 16:51:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 15:31:39 -0700 |
commit | 2cf489a3bf75d7569c228147c3d9c559f02fd62c (patch) | |
tree | f511184918a5b657c166aafc17d109759e536953 /t/helper | |
parent | multi-pack-index: provide more helpful usage info (diff) | |
download | tgif-2cf489a3bf75d7569c228147c3d9c559f02fd62c.tar.xz |
multi-pack-index: store local property
A pack-file is 'local' if it is stored within the usual object
directory. If it is stored in an alternate, it is non-local.
Pack-files are stored using a 'pack_local' member in the packed_git
struct. Add a similar 'local' member to the multi_pack_index struct
and 'local' parameters to the methods that load and prepare multi-
pack-indexes.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r-- | t/helper/test-read-midx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-read-midx.c b/t/helper/test-read-midx.c index 8e19972e89..831b586d02 100644 --- a/t/helper/test-read-midx.c +++ b/t/helper/test-read-midx.c @@ -7,7 +7,7 @@ static int read_midx_file(const char *object_dir) { uint32_t i; - struct multi_pack_index *m = load_multi_pack_index(object_dir); + struct multi_pack_index *m = load_multi_pack_index(object_dir, 1); if (!m) return 1; |