| 29 | }; |
| 30 | |
| 31 | void init_notes_merge_options(struct repository *r, |
| 32 | struct notes_merge_options *o) |
| 33 | { |
| 34 | memset(o, 0, sizeof(struct notes_merge_options)); |
| 35 | strbuf_init(&(o->commit_msg), 0); |
| 36 | o->verbosity = NOTES_MERGE_VERBOSITY_DEFAULT; |
| 37 | o->repo = r; |
| 38 | } |
| 39 | |
| 40 | static int path_to_oid(const char *path, struct object_id *oid) |
| 41 | { |