| 6 | #include "patch-ids.h" |
| 7 | |
| 8 | static int patch_id_defined(struct commit *commit) |
| 9 | { |
| 10 | /* must be 0 or 1 parents */ |
| 11 | return !commit->parents || !commit->parents->next; |
| 12 | } |
| 13 | |
| 14 | int commit_patch_id(struct commit *commit, struct diff_options *options, |
| 15 | struct object_id *oid, int diff_header_only) |
no outgoing calls
no test coverage detected