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

Function pack_options_allow_reuse

builtin/pack-objects.c:4653–4661  ·  view source on GitHub ↗

* This tracks any options which pack-reuse code expects to be on, or which a * reader of the pack might not understand, and which would therefore prevent * blind reuse of what we have on disk. */

Source from the content-addressed store, hash-verified

4651 * blind reuse of what we have on disk.
4652 */
4653static int pack_options_allow_reuse(void)
4654{
4655 return allow_pack_reuse != NO_PACK_REUSE &&
4656 pack_to_stdout &&
4657 !ignore_packed_keep_on_disk &&
4658 !ignore_packed_keep_in_core &&
4659 (!local || !have_non_local_packs) &&
4660 !incremental;
4661}
4662
4663static int get_object_list_from_bitmap(struct rev_info *revs)
4664{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected