| 1927 | } |
| 1928 | |
| 1929 | static void update_comment_bufs(struct strbuf *buf1, struct strbuf *buf2, int n) |
| 1930 | { |
| 1931 | strbuf_setlen(buf1, strlen(comment_line_str) + 1); |
| 1932 | strbuf_addf(buf1, _(nth_commit_msg_fmt), n); |
| 1933 | strbuf_addch(buf1, '\n'); |
| 1934 | strbuf_setlen(buf2, strlen(comment_line_str) + 1); |
| 1935 | strbuf_addf(buf2, _(skip_nth_commit_msg_fmt), n); |
| 1936 | strbuf_addch(buf2, '\n'); |
| 1937 | } |
| 1938 | |
| 1939 | /* |
| 1940 | * Comment out any un-commented commit messages, updating the message comments |
no test coverage detected