Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Why no --rebase support for pull?

On Tue, May 15, 2012 at 12:59 AM, Mikael Karlsson <mmmicke@xxxxxxxxx> wrote:
> I noticed that there is no support for the --rebase flag in the PullCommand
> class. However, there is pull --rebase support, but you first have to
> configure the branch to use --rebase by default, like this:
>
> config.setBoolean("branch", "master", "rebase", true);
>
> It should be trivial to add a method, setRebase(boolean), to PullCommand in
> order to support pulling with the --rebase flag without changing the repo
> config.
>
> Is there a reason this is not implemented?

Its probably just an oversight.

> I would be happy to do it, if
> it's not obvious that it wouldn't be accepted.

Contributions are always appreciated.  :-)


Back to the top