git_stats icon indicating copy to clipboard operation
git_stats copied to clipboard

reading log message from standard input

Open hthappy opened this issue 6 years ago • 3 comments

Hi, Prompt "reading log message from standard input", always stuck in the interface, what is the reason?

Thanks & best regards.

hthappy avatar Nov 06 '18 06:11 hthappy

This happens when there are no commits in the repo. Easily reproduced with:

$ mkdir /tmpx && cd /tmp/x
$ git init
Initialized empty Git repository in /tmp/x/.git/
$ git shortlog -s -n --all
(reading log message from standard input)

kotnik avatar Sep 30 '20 13:09 kotnik

It happens when you have commit history before,

bushmusi avatar Jul 07 '21 13:07 bushmusi

It is' waiting for "input", you can enter directly in terminal. At the end you have to send an <EOF> character. On Mac OS it's CTRL-D to send.

hfahlbusch avatar Sep 03 '21 12:09 hfahlbusch