Merge branch 'jk/log-missing-default-HEAD'
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Sep 2015 19:50:08 +0000 (12:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Sep 2015 19:50:10 +0000 (12:50 -0700)
"git init empty && git -C empty log" said "bad default revision 'HEAD'",
which was found to be a bit confusing to new users.

* jk/log-missing-default-HEAD:
  log: diagnose empty HEAD more clearly

1  2 
revision.c
t/t4202-log.sh

diff --cc revision.c
Simple merge
diff --cc t/t4202-log.sh
Simple merge