Merge branch 'jc/t1517-more' into jk/imap-send-plug-all-msgs-leak

* jc/t1517-more:
  imap-send: minimum leakfix
  t1517: more coverage for commands that work without repository
This commit is contained in:
Junio C Hamano
2024-06-07 10:32:20 -07:00
2 changed files with 53 additions and 0 deletions

View File

@@ -1555,6 +1555,7 @@ int cmd_main(int argc, const char **argv)
}
if (all_msgs.len == 0) {
strbuf_release(&all_msgs);
fprintf(stderr, "nothing to send\n");
ret = 1;
goto out;