| 4186 | } |
| 4187 | |
| 4188 | static void show_cruft_object(struct object *obj, const char *name, void *data UNUSED) |
| 4189 | { |
| 4190 | /* |
| 4191 | * if we did not record it earlier, it's at least as old as our |
| 4192 | * expiration value. Rather than find it exactly, just use that |
| 4193 | * value. This may bump it forward from its real mtime, but it |
| 4194 | * will still be "too old" next time we run with the same |
| 4195 | * expiration. |
| 4196 | * |
| 4197 | * if obj does appear in the packing list, this call is a noop (or may |
| 4198 | * set the namehash). |
| 4199 | */ |
| 4200 | add_cruft_object_entry(&obj->oid, obj->type, NULL, 0, name, cruft_expiration); |
| 4201 | } |
| 4202 | |
| 4203 | static void show_cruft_commit(struct commit *commit, void *data) |
| 4204 | { |
no test coverage detected