Re: [PATCH] git-merge: add option --no-ff

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] git-merge: add option --no-ff

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:35

Eric Wong [off-list ref] writes:
Would automatically enabling --no-ff when it detects merging of two (or
more) SVN branches be a good thing?  We can add scripting support to
git-svn for detecting if any given commit is really from SVN or not.
Then we could do something like this in git-merge

---------------------------- 8< --------------------------------
if git-svn test-svn-commits "$@"
then
	no_ff=t
	no_fast_forward_strategies=$all_strategies
fi
---------------------------- 8< --------------------------------
Yuck, do I understand you correctly?  Are you talking about
adding dependency on git-svn to git-merge?

Re: [PATCH] git-merge: add option --no-ff

From: Eric Wong <hidden>
Date: 2016-06-15 22:43:35

Junio C Hamano [off-list ref] wrote:
Eric Wong [off-list ref] writes:
quoted
Would automatically enabling --no-ff when it detects merging of two (or
more) SVN branches be a good thing?  We can add scripting support to
git-svn for detecting if any given commit is really from SVN or not.
Then we could do something like this in git-merge

---------------------------- 8< --------------------------------
if git-svn test-svn-commits "$@"
then
	no_ff=t
	no_fast_forward_strategies=$all_strategies
fi
---------------------------- 8< --------------------------------
Yuck, do I understand you correctly?  Are you talking about
adding dependency on git-svn to git-merge?
It could be another simple independent script, then.  git-svn isn't
installed on most distros when git is, so it won't always work...

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help