MCPcopy Index your code
hub / github.com/git/git / prune_packed_objects

Function prune_packed_objects

prune-packed.c:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void prune_packed_objects(int opts)
38{
39 if (opts & PRUNE_PACKED_VERBOSE)
40 progress = start_delayed_progress(the_repository,
41 _("Removing duplicate objects"), 256);
42
43 for_each_loose_file_in_source(the_repository->objects->sources,
44 prune_object, NULL, prune_subdir, &opts);
45
46 /* Ensure we show 100% before finishing progress */
47 display_progress(progress, 256);
48 stop_progress(&progress);
49}

Callers 3

cmd_prune_packedFunction · 0.85
cmd_pruneFunction · 0.85
cmd_repackFunction · 0.85

Calls 4

start_delayed_progressFunction · 0.85
display_progressFunction · 0.85
stop_progressFunction · 0.85

Tested by

no test coverage detected