Re: git-svn merge helper

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Björn
Date: Tuesday, October 2, 2007 - 3:38 pm

On 2007.10.02 18:04:58 -0400, Steven Walter wrote:

Unfortunately not, the branch in question is required to be in the SVN
repository.


Thanks, but it makes no difference here, it stil results in a fast
forward. This is a small test case which exhibits the behaviour and
matches my current workflow with git-svn (except for the dcommits):

git init
echo Hi > file1; git add file1; git commit -m file1
git checkout -b branch
echo Hi > file2; git add file2; git commit -m file2
git checkout master
echo Hi > file3; git add file3; git commit -m file3
git checkout branch
git merge master

# Then I'd normally do the following which causes a fast forward
#git checkout master
#git merge branch

# Now I tried this, which also results in a fast-forward:
git checkout -b merge
git reset --hard master
git merge branch


Anything I'm missing?

Thanks,
Björn
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-svn merge helper, Björn, (Tue Oct 2, 2:14 pm)
Re: git-svn merge helper, Steven Walter, (Tue Oct 2, 3:04 pm)
Re: git-svn merge helper, Björn, (Tue Oct 2, 3:38 pm)
Re: git-svn merge helper, Steven Walter, (Tue Oct 2, 5:42 pm)
Re: git-svn merge helper, Björn, (Tue Oct 2, 6:02 pm)
Re: git-svn merge helper, Andreas Ericsson, (Wed Oct 3, 4:40 am)