git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Usability question
@ 2009-09-17 10:01 Rob Barrett
  2009-09-17 10:41 ` Matthieu Moy
  2009-09-17 11:20 ` Owen Taylor
  0 siblings, 2 replies; 8+ messages in thread
From: Rob Barrett @ 2009-09-17 10:01 UTC (permalink / raw)
  To: git

When starting with git people almost always ask some variant of "how
do I know whether this option should be prefixed with dashes or not?"
i.e. git reset --hard vs. git stash save --patch, which coupled with
other path, sha and treeish args make things a bit more confusing.

Not sure if this has been discussed before? If it has point me at the
discussion and I'll go look at it -- no need to read further.

And people stop asking the question after they get used to git - but
that's not the same as being usable.

Out of 60+ commands, most take the form
git <subcommand> [--option]
and a few take the form
git <subcommand> subsubcommand [--option]

(a quick scan gives: bisect,bundle,reflog,remote,stash)

My questions:
1. What is the distinction that makes the 10% special enough to get
non-prefixed options?
2. Is it worthwhile? Wouldn't it be better if to shoot for more
consistency / less complexity?

Rob

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-20 18:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17 10:01 Usability question Rob Barrett
2009-09-17 10:41 ` Matthieu Moy
2009-09-17 12:13   ` SZEDER Gábor
2009-09-17 13:09     ` Matthieu Moy
2009-09-17 13:25   ` Daniele Segato
2009-09-20  2:21   ` Rob Barrett
2009-09-20 18:54     ` Dmitry Potapov
2009-09-17 11:20 ` Owen Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).