git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Mehul JainNext: Mehul Jain
Message 5 of 8 in “[GSoC] Microproject :- Teaching git pull --rebase the --no-autostash flag”
  1. Mehul JainFeb 26, 2016
  2. Add --no-autostash flag to git pull --rebaseMehul Jain, Feb 26, 2016
  3. Paul TanFeb 26, 2016
  4. Mehul JainFeb 26, 2016
  5. Paul TanFeb 26, 2016
  6. Mehul JainFeb 26, 2016
  7. Matthieu MoyFeb 26, 2016
  8. Philip OakleyFeb 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.