* mb/shortlog-nongit-stdin: shortlog: warn the user when there is no input
@ -295,6 +295,8 @@ parse_done:
if (!nongit && !rev.pending.nr && isatty(0))
add_head_to_pending(&rev);
if (rev.pending.nr == 0) {
if (isatty(0))
fprintf(stderr, "(reading log message from standard input)\n");
read_from_stdin(&log);
}
else