Yes, indeed! Good catch!
Because --no-ff could be used when the GIT_COMMITTER_* and GIT_AUTHOR_* env
variable should be respected? Or because we should check if one of these
env variable is set and, if that is the case, we should not fast forward?
As I think it would be a big backward incompatibility to force people to
update their scripts to add --no-ff, I think you probably suggest the
latter. This mean that we could have both --ff and --no-ff. --ff could
force fast forward even if some of the above env variables are set. --no-ff
would disable fast forward even if none of the above env variable is set.
I am not too worried by this expectation, but I think that, as it looks like
we will need --ff anyway, it is safer to start by implementing --ff like I
did and then later we can implement --no-ff and change the default (when
neither --ff nor --no-ff is used) to look at env variables (or config
variables) to decide if we will fast forward or not.
Yeah, I will add the same treatment for these options.
Yeah, but let's change the default later please.
Thanks,
Christian.
--
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