Re: [GSoC] Microproject :- Teaching git pull --rebase the --no-autostash flag
- From
Paul Tan <pyokagan@gmail.com>
- Date
- Feb 26, 2016, 11:51 UTC
- Message-ID
- <CACRoPnSoJvyvm4npw40AsgvPaviwb07akpiWtYWX3wTEME6wRA@mail.gmail.com>
- In-Reply-To
- <1456485825-21309-1-git-send-email-mehul.jain2029@gmail.com>
On Fri, Feb 26, 2016 at 7:23 PM, Mehul Jain <mehul.jain2029@gmail.com> wrote:
Show 9 quoted lines
> With this patch, git pull --rebase will understand --no-autostash command line flag. > This flag will override "rebase.autostash" configuration(if set) and leads to a > failure if current working directory is dirty. If "rebase.autostash" is not configured > and no flag is passed then by default command will die if directory is to be dirty, before > even calling rebase. > > I am also thinking of adding a "--autostash" flag for git pull --rebase, which will > override "rebase.autostash" configuration(if set false) and will pass --autostash to > git rebase. I would like to know your opinion on this option.
That was the point of the microproject ;-). --[no-]autostash means both --autostash and --no-autostash.
Thanks, Paul