Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
> from https://git-scm.com/docs/git-config > pull.ff > By default, Git does not create an extra merge commit when merging a > commit that is a descendant of the current commit. Instead, the tip > of the current branch is fast-forwarded. When set to |false|, this > variable tells G

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
>>> "CS" == Chris Stone writes: > from https://git-scm.com/docs/git-config > pull.ff > By default, Git does not create an extra merge commit when merging a > commit that is a descendant of the current commit. Instead, the tip > of the current branch is fast-forwarded. When set to |fa

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Chris Stone
from https://git-scm.com/docs/git-config pull.ff By default, Git does not create an extra merge commit when merging a commit that is a descendant of the current commit. Instead, the tip of the current branch is fast-forwarded. When set to |false|, this variable tells Git to create an

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: > On Mon, Jul 10, 2023 at 06:30:04PM +0200, Uwe Brauer wrote: >> While in mercurial «hg fetch» is equivalent to «hg pull» and «hg merge» >> >> it seems that «git pull --no-ff» is not equivalent to >> «git fetch» and «git merge». > This might be wrong ex

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Konstantin Khomoutov
On Mon, Jul 10, 2023 at 06:30:04PM +0200, Uwe Brauer wrote: > While in mercurial «hg fetch» is equivalent to «hg pull» and «hg merge» > > it seems that «git pull --no-ff» is not equivalent to > «git fetch» and «git merge». This might be wrong expectations. I'll try to explain in simple words.

[git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
Hi While in mercurial «hg fetch» is equivalent to «hg pull» and «hg merge» it seems that «git pull --no-ff» is not equivalent to «git fetch» and «git merge». I run an experiment. Set up a local git server, with a couple of commits. Cloned it as user1 cloned it as user2 User1 pushes a (non c