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, 01:18 UTC
- Message-ID
- <7vbqz3ibhn.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0512270053030.14928@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> t5300 is also adapted, since it relies heavily on init-db not complaining > when $GIT_DIR already exists.
I think it tries not to overwrite things that are already there and is meant to be safe to run in an already populated repository; e.g. you should be able to use it to pick up newly added templates.
Is there a particular reason running the current init-db twice is undesirable?