On Wed, Mar 19, 2008 at 12:35 PM, Junio C Hamano <gitster@pobox.com> wrote:
What I would like to do is to split it in three like this:
1. Head reduction
2. --ff/--no-ff => ff={allow,never} and documentation updates.
3. --ff=only
If you would like me to do this please tell me.
True, but the special case where you have a topic that only consists
of one commit you might as well apply it directly on master. In any
case, when you commit something directly on the special branch master
you usually know what you are doing. It is perfectly OK to combine the
two. I am not sure we need to explain this.
Actually that is not my goal for this implementation, I just tried to
describe a useful use case, but failed. Let me try again.
I actually need this for the integration between accurev and git I am
using/maintaining/developing (at some point I intend to release it).
At work I am forced to use accurev, but the user interface for accurev
is horrible and it is slow. I therefor have complete history of
accurev streams in git and are doing all my work in git with branches
and everything. The git-accurev integrator creates one merge commit
object in git for each time i check something into accurev, . This
merge commit object ties the content in accurev that was committed
into accurev with the corresponding content in git. It is important
that further work I do is based on this special merge commit object.
It works if I don't, but the history gets really messy, and for this
I need the --ff=only so I don't forget to pull or rebase before the
next commit I make into accurev.
I don't intend to do that, simply because I don't need it and it would
actually not work for my workflow.
You are right, I will try to come up with something better.
I don't see any good idea for having this check. Nothing bad happens
by allowing to combine these options the way I currently implement it.
--
Sverre Hvammen Johansen
--
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