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

Re: suggestions about stgit commands renaming

From
Yann Dirson <ydirson@altern.org>
Date
Jan 10, 2007, 19:52 UTC
Message-ID
<20070110195212.GH17093@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<20070109220332.GD17093@nan92-1-81-57-214-146.fbx.proxad.net>
On Tue, Jan 09, 2007 at 11:03:32PM +0100, Yann Dirson wrote:
Show 17 quoted lines
> Maybe some restucturing of commands is called for.  One possibility
> would be to go with prefixes (eg. ppush, pshow), but that does not
> address the sub-commands issue, which would have to be dealt with
> another way, possibly by multiplying commands (branch -> blist,
> bcreate, etc), which I'm not very fond of.
> 
> Another would be to generalize command groups, and acknowledge
> subcommands as such.  Eg:
> 
> stg branch --create		-> stg branch create
> stg show			-> stg patch show
> stg push			-> stg patch push
> 
> 
> The latter obviously suggests that some would want to keep "stg push"
> as an alias (here comes again the idea of programable aliases like we
> already have for GIT.

Thinking twice, the current "shortcut prefix" mechanism would already allow us to use shortcuts like "stg p show" and "stg b create".

Previous: BazNext: Catalin Marinas
Message 5 of 9 in “Add contrib/stg-gitk: helper script to run gitk”
  1. Add contrib/stg-gitk: helper script to run gitkYann Dirson, Jan 8, 2007
  2. Catalin MarinasJan 9, 2007
  3. Yann DirsonJan 9, 2007
  4. BazJan 10, 2007
  5. Yann DirsonJan 10, 2007
  6. Catalin MarinasJan 10, 2007
  7. Catalin MarinasJan 10, 2007
  8. Yann DirsonJan 12, 2007
  9. Catalin MarinasJan 12, 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.