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