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