reflog by default?, was Re: What's in git.git (stable)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2006, 14:03 UTC
- Message-ID
- <Pine.LNX.4.63.0612141459160.3635@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20061214120518.GL1747@spearce.org>
Hi,
On Thu, 14 Dec 2006, Shawn Pearce wrote:
> * Normal working repository (wants reflogs); > * Bare private (backup) repository (wants reflogs); > * Bare shared repository (probably doesn't want reflogs); > * Import generated repository (probably doesn't want reflogs);
In contrast, I think that reflogs make lots of sense for shared repos, and less sense for bare (non-shared) ones...
So, I'd say: enable reflog by default, unless it is bare _and_ not shared. But then, cmd_init_db() no longer knows if it was called with "--bare" or not.
Ciao, Dscho