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

Function show_commit_pack_hint

builtin/pack-objects.c:3865–3876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3863}
3864
3865static void show_commit_pack_hint(struct commit *commit, void *data)
3866{
3867 enum stdin_packs_mode mode = *(enum stdin_packs_mode *)data;
3868
3869 if (mode == STDIN_PACKS_MODE_FOLLOW) {
3870 show_object_pack_hint((struct object *)commit, "", data);
3871 return;
3872 }
3873
3874 /* nothing to do; commits don't have a namehash */
3875
3876}
3877
3878/*
3879 * stdin_pack_info_kind specifies how a pack specified over stdin

Callers

nothing calls this directly

Calls 1

show_object_pack_hintFunction · 0.85

Tested by

no test coverage detected