From: Johannes Schindelin Date: Sat, 21 Jul 2007 17:12:03 GMT Subject: Re: Volume of commits Message-ID: In-Reply-To: <20070713103025.GR1528MdfPADPa@greensroom.kotnet.org> Hi, On Fri, 13 Jul 2007, Sven Verdoolaege wrote: > [...] if I do the following: > > bash-3.00$ git init > Initialized empty Git repository in .git/ > bash-3.00$ for i in a b c; do touch $i; git add $i; git commit -m $i -a; done > Created initial commit 19a8485: a > 0 files changed, 0 insertions(+), 0 deletions(-) > create mode 100644 a > Created commit 4a00f85: b > 0 files changed, 0 insertions(+), 0 deletions(-) > create mode 100644 b > Created commit defe3b5: c > 0 files changed, 0 insertions(+), 0 deletions(-) > create mode 100644 c > bash-3.00$ git rebase -i HEAD~2 > > and then replace the second "pick" by "squash", then I get presented > a commit message that contains the commit message of "c" twice and > after the rebase there are still three commits in the history. > This is with git version 1.5.3.rc1.10.gae1ae > (on top of v1.5.3-rc1-4-gaf83bed). It no longer reproduces, which probably means that I inadvertently fixed the bug ;-) Ciao, Dscho