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

Re: Collection of stgit issues and wishes

From
David Kågedal <davidk@lysator.liu.se>
Date
Dec 13, 2006, 07:22 UTC
Message-ID
<87y7pc2rc7.fsf@morpheus.local>
In-Reply-To
<b0943d9e0612120143j7d0c1026rab046c8f44ec43ca@mail.gmail.com>
"Catalin Marinas" <catalin.marinas@gmail.com> writes:
Show 9 quoted lines
> On 08/12/06, Yann Dirson <ydirson@altern.org> wrote:
>> - shortcuts (st -> status, etc.), possibly making use of the git alias
>> system ?
>
> Did this last night as it was pretty easy and without the GIT alias
> system (which I am not familiar with). The idea is that if it cannot
> find an exact match, it tries to look for all the commands starting
> with the passed argument. If more than one command is found, it
> reports an "ambiguous command".

That approach can cause problems later on. If "stgit st" is currently a unique prefix of "stgit status", people might use it in scripts. Then, one day, you add the "stgit store" command, or whatever, and their scripts start breaking for no good reason.

-- 
David Kågedal
Previous: Jakub NarebskiNext: Andreas Ericsson
Message 9 of 22 in “Collection of stgit issues and wishes”
  1. Yann DirsonDec 8, 2006
  2. Jakub NarebskiDec 8, 2006
  3. Jakub NarebskiDec 10, 2006
  4. Jakub NarebskiDec 10, 2006
  5. Catalin MarinasDec 10, 2006
  6. Yann DirsonDec 17, 2006
  7. Catalin MarinasDec 12, 2006
  8. Jakub NarebskiDec 12, 2006
  9. David KågedalDec 13, 2006
  10. Andreas EricssonDec 13, 2006
  11. Karl HasselströmDec 13, 2006
  12. Yann DirsonDec 17, 2006
  13. Jakub NarebskiDec 10, 2006
  14. Catalin MarinasDec 10, 2006
  15. Jakub NarebskiDec 10, 2006
  16. Catalin MarinasDec 10, 2006
  17. Jakub NarebskiDec 10, 2006
  18. Catalin MarinasDec 11, 2006
  19. Jakub NarebskiDec 21, 2006
  20. Yann DirsonDec 11, 2006
  21. Catalin MarinasDec 13, 2006
  22. Jakub NarebskiDec 21, 2006

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.