Re: [PATCH] git-merge: add option --no-ff
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:35
Hi, On Mon, 17 Sep 2007, Lars Hjemli wrote:
[Cc'd Eric since he's the expert on git-svn] On 9/17/07, Johannes Schindelin [off-list ref] wrote:quoted
Ah, I think I know what you're trying to get at. But "git svn fetch && git rebase git-svn" might be a better approach than "git svn fetch && git merge --no-ff git-svn", no?If I'm understanding you right: no. After a rebase, the commits would be ignored by git-svn when looking for the subversion upstream branch (since the commit SHA1's would no longer match the ones stored in git-svn's rev_db), but the subversion history would look like 'cherry-picked n commits from merged branch' after dcommit.
I feel that I am not really qualified here, since I am a strict git-svn _user_, but AFAICT it worked here all the time, _especially_ with fast forwards. The trick is that all commits that were added after the branch point do _not_ contain any svn lines. But then, I do not use svn branches here, and that might be the problem? Ciao, Dscho