Felipe Contreras <felipe.contre...@gmail.com> writes:

> Theodore Ts'o wrote:
>> This is especially true for commands which might not be used as often
>> -- e.g., "rebase", and for commands where the meaning of "git commit"
>> without any argument is qualitatively different from what "ci" (for
>> checkin) means in most other source management systems.
> ci means commit in Mercurial.

Does it mean "commit the staging area"?

>> In fact, to be fair, you may be getting biased because you're used to
>> using the two character shortcuts, so for you, of *course* "rb" and
>> "pi" and "ci" make a lot of sense.
> I can't be biased to those because I don't use them, mine are one
> character shortcuts.

Which you created yourself, on your own responsibility.

> And if that hypothesis was correct, why does Mercurial, Bazaar,
> Subversion, CVS, and pretty much everything uses aliases? And why does
> pretty much every .gitconfig has similar aliases? That would imply
> that the whole world is biased.

Most .profile files define aliases as well.  Doing this on the user's
initiative is harmless since it will not have its usage leak into
scripts intended for use by others.

> It would help when the user starts to think "Geez, I seem to be typing
> `git checkout` an awful lot, I wonder if there's a shortcut", which if
> the .gitconfigs out there are any indication, it happens all the time.

Actually, it happens very rarely if you are talking about _real_
gitconfigs deployed by projects as compared to _sample_ gitconfigs
demonstrating Git features for _personal_ rather than project-wide use.

>> And for a command like "rebase" where the user can very easily shoot
>> themselves in the foot to begin with, I'd actually suggest that it's
>> a _good_ thing that they have to type it out in full.
> And now you contradict yourself; you actually want to make life harder
> for new users, on purpose.

Life's hardness is not proportional to the number of typed characters or
APL would be the easiest programming language narrowly followed by Perl.
Life does not become easier by lowering input redundancy until it
becomes hard to tell apart from line noise.  Keyboards are highly
efficient input devices, or we would not be conversing in whole
sentences in technical mailing lists but rather in telegraphy style.

David Kastrup
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to