Re: What is missing from Git v2.0

4 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: What is missing from Git v2.0

From: David Kastrup <hidden>
Date: 2016-06-15 23:00:47

Felipe Contreras [off-list ref] writes:
Theodore Ts'o wrote:
quoted
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"?
quoted
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.
quoted
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

Re: What is missing from Git v2.0

From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:48

David Kastrup wrote:
Felipe Contreras [off-list ref] writes:
quoted
Theodore Ts'o wrote:
quoted
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"?
It means "hg commit".
quoted
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.
There's no such thing as gitconfigs deployed by projects, and if there were
they would be irrelevant.

We are talking about *people* using Git's command line interface, and people
have *personal* configs, that's it.

And it's only those configs we have access to, and the only sources of
information we have to make a guess if users ask the question "Geez, I seem to
be typing `git checkout` an awful lot, I wonder if there's a shortcut".
quoted
quoted
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
It is. Why do you think people set aliases? To make their life harder?

Anyway, if you disagree change one of your frequently used passwords to a
chapter of The Lord of the Rings for a day. Let's see if you still think that.

-- 
Felipe Contreras

Re: What is missing from Git v2.0

From: Andreas Krey <hidden>
Date: 2016-06-15 23:00:49

On Wed, 23 Apr 2014 22:35:55 +0000, Felipe Contreras wrote:
...
Anyway, if you disagree change one of your frequently used passwords to a
chapter of The Lord of the Rings for a day. Let's see if you still think that.
Proving that one extreme isn't the optimum doesn't prove the other is.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

Re: What is missing from Git v2.0

From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:49

Andreas Krey wrote:
On Wed, 23 Apr 2014 22:35:55 +0000, Felipe Contreras wrote:
...
quoted
Anyway, if you disagree change one of your frequently used passwords to a
chapter of The Lord of the Rings for a day. Let's see if you still think
that.
Proving that one extreme isn't the optimum doesn't prove the other is.
It's called hyperbole, and it's a very common and very effective rhetorical
device.

Nobody argued that the extreme opposite was best.

My point was that the amount of characters you type _does_ matter, and I think
I proved my point.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help