| 3863 | } |
| 3864 | |
| 3865 | static 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 |
nothing calls this directly
no test coverage detected