Re: [PATCH] Do not allow git-init-db to be called twice in the same directory
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 27, 2005, 16:47 UTC
- Message-ID
- <7vlky6bi6f.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0512271457200.17086@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
>> Is there a particular reason running the current init-db twice >> is undesirable? > > In my case, yes. When I do that, it means that I did not correctly > change directories. I fscked up my private git repository twice that way.
Maybe a warning (e.g. "rerunning in an already set up repository") is in order?