git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-log fatal error in empty repo
@ 2007-06-07 13:34 Steve Hoelzer
  2007-06-07 20:29 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Hoelzer @ 2007-06-07 13:34 UTC (permalink / raw)
  To: git

git-log will return a fatal error for an empty repo, like so:

$ git --version
git version 1.5.2.73.g18bece
$ mkdir mytest
$ cd mytest
$ git-init
Initialized empty Git repository in .git/
$ git-log
fatal: bad default revision 'HEAD'

It would be nice if git-log was quiet or returned a "no log" message
instead of the fatal error.

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-09  2:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 13:34 git-log fatal error in empty repo Steve Hoelzer
2007-06-07 20:29 ` Junio C Hamano
2007-06-09  2:31   ` Geert Bosch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).