Re: The git spring cleanup challenge

2 messages, 2 authors, 2021-06-02 · open the first message on its own page

Re: The git spring cleanup challenge

From: Sergey Organov <hidden>
Date: 2021-06-02 12:20:04

Felipe Contreras [off-list ref] writes:
Sergey Organov wrote:
quoted
Felipe Contreras [off-list ref] writes:
quoted
quoted
These are the configurations I've chosen:

  [merge]
    conflictstyle = diff3
  [sendemail]
    smtpserver = /usr/bin/msmtp
[pull]
	rebase = merges
Can you do `git pull --rebase=merges` for a while?
I never use 'git pull' for merging, and all the time with rebasing, so
what's the point? I mean, whenever I do 'git pull' I mean 'git pull
--rebase', and whenever I need to merge, I exclusively use'git merge'.
quoted
[push]
	default = simple
This is the default, you don't need it.
Yep, a remnant from the past.
quoted
[rerere]
	enabled = true
	autoupdate = true
We are seeing a pattern here.
quoted
[diff]
	algorithm = patience
Does this make a lot of difference?
As far as I recall, I had some mismerges long time ago that this setting
affected positively, so I've tweaked it.

Thanks,
-- Sergey Organov

Re: The git spring cleanup challenge

From: Felipe Contreras <hidden>
Date: 2021-06-02 21:28:05

Sergey Organov wrote:
Felipe Contreras [off-list ref] writes:
quoted
Sergey Organov wrote:
quoted
Felipe Contreras [off-list ref] writes:
quoted
quoted
These are the configurations I've chosen:

  [merge]
    conflictstyle = diff3
  [sendemail]
    smtpserver = /usr/bin/msmtp
[pull]
	rebase = merges
Can you do `git pull --rebase=merges` for a while?
I never use 'git pull' for merging, and all the time with rebasing, so
what's the point? I mean, whenever I do 'git pull' I mean 'git pull
--rebase', and whenever I need to merge, I exclusively use'git merge'.
So you can remove that configuration.

And afterwareds set pull.rebase=true so you don't need to specify
--rebase.
quoted
quoted
[rerere]
	enabled = true
	autoupdate = true
We are seeing a pattern here.
quoted
[diff]
	algorithm = patience
Does this make a lot of difference?
As far as I recall, I had some mismerges long time ago that this setting
affected positively, so I've tweaked it.
Try running without it for a while. If you see issues then parhaps it's
an indication that patience is a better default algorithm.

Cheers.

-- 
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