Duy Nguyen <pclouds@xxxxxxxxx> writes: >> So I'm all for a facility to have a setting to collectively opt-in to >> new things early. But I think for such a thing we really should a) at >> least in principle commit to making those things the default eventually > > Some features may be best enabled for certain setups. This is why I > set configuration variables repo size, worktree size.. instead of just > one number. Yeah, I think the concept of core.fetureAdoptionRate is faulty at multiple counts, and I admit I am guilty of making at least one aspect worse by giving the topic branch to queue these patches a mistaken name of "early-adoption". Some tweaks, like the use of index version 4, may be something we strive to make it eventually suitable for _all_ users. The effort may involve multiple iterations of things like "gee, the prefix-compression works very well for really big tree, but sucks for a project of medium size; lets tweak to automatically enable/disable it based on the size of the tree", but the main point is that we want to eventually make it good for projects of all sizes and different access patterns. While we do the treaking, the user experience may be rocky, and "early adoption" model is perfectly suitable for a thing like this. But some other tweaks, like the ahead-behind thing, are what we would never make it the default for everybody. They are "Git is never designed to be used like this, but if we disable small things like this and that, the end user experience for those who used to have them might suffer, but other aspect of the system becomes usable" tradeoffs. When we are done experimenting and know what kind of system castration may give acceptable trade off, we know the subset of users to whom these tweaks give benefit (and others to whom these are not improvements). Opting into these things is not about "early adoption". Also as raised in another message in this thread, I do agree that the configuration does not belong to the "core." hierarchy. It is more like a macro, that flips individual configuration based on a higher level "grouping" (e.g. my project falls into "large but infrequently updated" category) to suit the access pattern. > I see this more like gcc =O options. And for those options, the > developers decide what to include. If you know what you want already, > you can just turn specific keys on. Otherwise you count on devs to do > the right things. Yup. Sorry for backing a wrong model. And I kind of like the word "bundled" you mention below, not as in "bundled with Git", but more as in "these configuration settings are bundled together to serve users of this kind of project". > Which makes me think about a slightly different implementation detail > (which I ignored because I didn't think further about per-release > stuff): since these are basically meta config to change defaults, we > can just implement them as a (builtin, or bundled) config file. The > user can see what are included much easier we have several different > config "profiles" (deep history, large worktree, bleeding-edge...) and > the user can include one or all [1]. > > [1] it also opens up the opportunity to have a standard (but optional) > set of aliases. But that's a touchy topic.