Thread (27 messages) flat view 27 messages, 7 authors, 2021-07-02

Re: The git spring cleanup challenge

From: Felipe Contreras <hidden>
Date: 2021-06-01 12:22:02

Đoàn Trần Công Danh wrote:
On 2021-06-01 05:48:41-0500, Felipe Contreras [off-list ref] wrote:
quoted
Đoàn Trần Công Danh wrote:
quoted
Something is essential when working on constantly integration tree,
I don't want to make my life hard:

* rerere.enabled = true
* rerere.autoupdate = true
If the defaults make your life hard, then shouldn't we change the
defaults?

For starters, which is the command you use? `git merge`? If so, maybe
`git merge` should have a --rerere option to enable rerere. There are
some --rerere-autoupdate, but no --rerere.
I think both pull, merge, rebase, cherry-pick, revert, checkout,
switch, apply, am will be affected by rerere.
Yes, I know, but I am talking about you personally. Where do you
absolutely need --rerere?
quoted
But fine, this is an exception too. The location of programs is not
something that can be changed by default.
quoted
And I would like to try new shiny features:

* feature.experimental = true
Interesting. I didn't know that existed, and I advocated for a
similar configuration: core.mode [2].

But if most newcomers can live without it, I'm sure you can too for a
bit.
The point of trying new shiny features is dogfooding ourselves and
report bugs early, if any.
Yes, and more developers should turn this flag on, but it's not
*essential*, so you can live one month with it off. Either way I don't
think it matters for the purpose of this experiment if you have it or
not.
quoted
quoted
quoted
  3. Every day you can add 1 additional configuration (and update it the
     next day).
  4. The moment you add a 4th configuration you lose.
So, my baseline already requires 8 key-value pairs (ignoring alias and
pull.rebase). I'm lost already.
With the exceptions I think you only need these:

 * rerere.enabled = true
 * rerere.autoupdate = true
OK, let's start there.
Excellent.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help