| 1045 | } |
| 1046 | |
| 1047 | static char *normalize_reflog_message(const char *msg) |
| 1048 | { |
| 1049 | struct strbuf sb = STRBUF_INIT; |
| 1050 | |
| 1051 | if (msg && *msg) |
| 1052 | copy_reflog_msg(&sb, msg); |
| 1053 | return strbuf_detach(&sb, NULL); |
| 1054 | } |
| 1055 | |
| 1056 | int should_autocreate_reflog(enum log_refs_config log_all_ref_updates, |
| 1057 | const char *refname) |
no test coverage detected