Re: bug: unexpected output for "git st" + suggestion
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Nov 23, 2010, 20:38 UTC
- Message-ID
- <m262vn22sf.fsf@igel.home>
- In-Reply-To
- <AANLkTi=FaZ4MhJ2gDFZGiJVHsuY9jtNGgdWxX3Dq4BY6@mail.gmail.com>
Tarek Ziadé <ziade.tarek@gmail.com> writes:
Show 12 quoted lines
> On Tue, Nov 23, 2010 at 2:08 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote: > ... >> >> There's another command that starts with "st": stripspace (it's a >> lowlevel command by the way). It's going to be a lot more if you type >> "git m" and expect all commands starting with 'm'. > > Maybe so yeah. That's how Mercurial does. > > $ hg s > hg: command 's' is ambiguous: > serve showconfig status strip summary
Mercurial allows unique abbreviations. Git doesn't. Thus a git command is never ambiguous.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."