As mentioned in the original mail - the merge commit did have changes. Here's the log of reproducing it. The line containing "2" in changelog is gone from master after pull --rebase. $ git init fake_upstream Initialized empty Git repository in /tmp/fake_upstream/.git/ $ cd fake_upstream/ fake_upstream$ echo some_content > test fake_upstream$ echo 1 > changelog fake_upstream$ git add test changelog fake_upstream$ git commit -m 'first commit' [master (root-commit) b1b683d] first commit 2 files changed, 2 insertions(+), 0 deletions(-) create mode 100644 changelog create mode 100644 test fake_upstream$ cd .. $ git clone /tmp/fake_upstream/ disappearing_commit Cloning into disappearing_commit... done. $ cd disappearing_commit/ disappearing_commit$ git checkout -b some-branch Switched to a new branch 'some-branch' disappearing_commit$ echo blah >> test disappearing_commit$ git commit test -m 'branch modification' [some-branch 528f166] branch modification 1 files changed, 1 insertions(+), 0 deletions(-) disappearing_commit$ git checkout master Switched to branch 'master' disappearing_commit$ git merge --no-ff --no-commit some-branch Automatic merge went well; stopped before committing as requested disappearing_commit$ echo 2 >> changelog disappearing_commit$ git add changelog disappearing_commit$ git commit [master e41e4c9] Merge branch 'some-branch' disappearing_commit$ git show commit e41e4c963a72528e3b2b5945ca419e19cdba1e4b Merge: b1b683d 528f166 Author: Stanislaw Pitucha <stanislaw.pitucha@xxxxxx> Date: Thu Nov 10 13:30:04 2011 +0000 Merge branch 'some-branch' diff --cc changelog index d00491f,d00491f..1191247 --- a/changelog +++ b/changelog @@@ -1,1 -1,1 +1,2 @@@ 1 ++2 disappearing_commit$ git pull --rebase First, rewinding head to replay your work on top of it... Applying: branch modification disappearing_commit$ git show commit ef8f5e40db9fe7efbd4e493ff68b12327acde283 Author: Stanislaw Pitucha <stanislaw.pitucha@xxxxxx> Date: Thu Nov 10 13:29:33 2011 +0000 branch modification diff --git a/test b/test index 6e099dc..2f3f685 100644 --- a/test +++ b/test @@ -1 +1,2 @@ some_content +blah Regards, Stanisław Pitucha Cloud Services Hewlett Packard
<<attachment: smime.p7s>>