Re: [PATCH] Do not allow git-init-db to be called twice in the same directory

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2005-12-28 05:01:00
Hi,

On Tue, 27 Dec 2005, Junio C Hamano wrote:

> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> >> 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?

Yeah. Or a command line parameter "--exists" without which it fails?

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Dec 28 05:01:39 2005

This archive was generated by hypermail 2.1.8 : 2005-12-28 05:01:47 EST