| 3122 | } |
| 3123 | |
| 3124 | int refs_copy_existing_ref(struct ref_store *refs, const char *oldref, |
| 3125 | const char *newref, const char *logmsg) |
| 3126 | { |
| 3127 | char *msg; |
| 3128 | int retval; |
| 3129 | |
| 3130 | msg = normalize_reflog_message(logmsg); |
| 3131 | retval = refs->be->copy_ref(refs, oldref, newref, msg); |
| 3132 | free(msg); |
| 3133 | return retval; |
| 3134 | } |
| 3135 | |
| 3136 | const char *ref_update_original_update_refname(struct ref_update *update) |
| 3137 | { |
no test coverage detected