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

Re: [PATCH] Add new 'rebase' command.

From
Yann Dirson <ydirson@altern.org>
Date
Jan 21, 2007, 23:26 UTC
Message-ID
<20070121232618.GD4665@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<b0943d9e0701211500v2f54aa61k2592ba060131318@mail.gmail.com>
On Sun, Jan 21, 2007 at 11:00:57PM +0000, Catalin Marinas wrote:
Show 10 quoted lines
> On 20/01/07, Yann Dirson <ydirson@altern.org> wrote:
> >Take two: I had forgotten to add "rebase" to the list of stack
> >commands for the purpose of help.
> 
> Thanks for the patch. I also added the command to the stgit-completion.bash.
> 
> I applied it but changed the patch a bit so that there is no need for
> the --to option. I understood your point but I find it a bit strange
> to have this mandatory option. Anyway, command line syntax doesn't
> have to follow the natural language exactly :-).

Well, I thought the natural next patch to this command would be, according to the discussions with Jakub, to make first "--to target" optional, as a natural replacement for "stg pull . <target>" when the target is the parent branch, and then possibly add the ability of running rebase from the target branch as also sugested by Jakub, leading to the natural "rebase [<stack>|--to <target>]" syntax.

Although I'm not sure we'll do that in the near future, removing the need for --to would somewhat get in the way of this possibility.

Best regards,
-- 
Yann.
Previous: Catalin MarinasNext: Catalin Marinas
Message 3 of 4 in “Add new 'rebase' command.”
  1. Add new 'rebase' command.Yann Dirson, Jan 20, 2007
  2. Catalin MarinasJan 21, 2007
  3. Yann DirsonJan 21, 2007
  4. Catalin MarinasJan 21, 2007

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.