fast-import: exit with proper message if not a git dir
authorJean-Luc Herren <jlh@gmx.ch>
Thu, 28 Feb 2008 22:29:54 +0000 (23:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 00:07:41 +0000 (16:07 -0800)
commit733ee2b7a95f6f4ac03f6f8db4899bcd54d0017e
tree687e900592c6720bd4edd9454d374dd40b2f7830
parentc0b48ad777eb8ad42d8d0eafc8f0ee82955b1319
fast-import: exit with proper message if not a git dir

git fast-import expects to be run from an existing (possibly
empty) repository.  It was dying with a suboptimal message if that
wasn't the case.

Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c