From: Jeff King Date: Sat, 17 Apr 2010 11:51:11 GMT Subject: Re: ghost refs Message-ID: <20100417115111.GB28623@coredump.intra.peff.net> In-Reply-To: <7vbpdt65ie.fsf@alter.siamese.dyndns.org> On Thu, Apr 08, 2010 at 01:42:01PM -0700, Junio C Hamano wrote: > We might want to have a general concensus on what we want to have in the > documentation. As you noted, some have too sparse SYNOPSIS, while others > have full list of options. Some mention configuration variables, while > others don't. Some have extensive examples, while others lack any. > Once we know the general direction in which we are going, we can hand off > the actual documentation updates to the crowd ;-) I would also like to have consensus on this, too. But it seems like it gets bikeshedded to death every time it comes up. But hey, why not try it one more time? :) > I'll list my preference off the top of my head as a firestarter. > > NAME:: > > The name followed by what it is used for Yep, makes sense. > SYNOPSIS:: > > I prefer to have (almost) complete set of options in SYNOPSIS, rather than > "command [] ..." which is next to useless. This is > especially true for commands whose one set of options is incompatible with > other set of options and arguments (e.g. there is no place for "-b" to > "checkout" that checks out paths out of the index or a tree-ish). I much prefer to have the "major modes of operation". So yes, "command [] " is useless. But git log [