Thread (29 messages) 29 messages, 8 authors, 2016-08-11

reflog by default?, was Re: What's in git.git (stable)

From: Johannes Schindelin <hidden>
Date: 2016-08-11 20:06:22

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help