package com.atlassian.stash.internal.scm.git.command.merge;

import com.atlassian.bitbucket.scm.git.command.GitScmCommandBuilder;
import com.atlassian.bitbucket.scm.git.command.merge.GitMergeBaseIndependentBuilder;

import javax.annotation.Nonnull;

/**
 * @since 1.3
 */
public class DefaultGitMergeBaseIndependentBuilder
        extends AbstractGitMergeBaseBuilder<GitMergeBaseIndependentBuilder>
        implements GitMergeBaseIndependentBuilder {

    public DefaultGitMergeBaseIndependentBuilder(GitScmCommandBuilder builder) {
        super(builder);
    }

    @Override
    protected void applyModeArguments() {
        builder.argument("--independent");
    }

    @Nonnull
    @Override
    protected GitMergeBaseIndependentBuilder self() {
        return this;
    }
}
