MCPcopy Create free account
hub / github.com/git/git / reset_pack_idx_option

Function reset_pack_idx_option

pack-write.c:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include "strbuf.h"
16
17void reset_pack_idx_option(struct pack_idx_option *opts)
18{
19 memset(opts, 0, sizeof(*opts));
20 opts->version = 2;
21 opts->off32_limit = 0x7fffffff;
22 opts->delta_base_cache_limit = DEFAULT_DELTA_BASE_CACHE_LIMIT;
23}
24
25static int sha1_compare(const void *_a, const void *_b)
26{

Callers 4

cmd_index_packFunction · 0.85
cmd_fast_importFunction · 0.85
cmd_pack_objectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected