| 113 | } |
| 114 | |
| 115 | static int cmd_create_symref(struct ref_store *refs, const char **argv) |
| 116 | { |
| 117 | const char *refname = notnull(*argv++, "refname"); |
| 118 | const char *target = notnull(*argv++, "target"); |
| 119 | const char *logmsg = *argv++; |
| 120 | |
| 121 | return refs_update_symref(refs, refname, target, logmsg); |
| 122 | } |
| 123 | |
| 124 | static struct flag_definition transaction_flags[] = { |
| 125 | FLAG_DEF(REF_NO_DEREF), |
nothing calls this directly
no test coverage detected