git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation/fetch-options.txt: order options alphabetically

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Oct 22, 2009, 10:21 UTC
Message-ID
<20091022192152.6117@nanako3.lavabit.com>
In-Reply-To
<7vhbts3285.fsf@alter.siamese.dyndns.org>
Quoting Junio C Hamano <gitster@pobox.com>
> Ah, in your defense ;-) I think you looked only at git-fetch.txt without
> checking where else this file is included.  Then the patch certainly is
> understandable.  It would probably make git-fetch.{1,html} easier to scan,
> while making things not worse for git-pull.{1,html}

Can't we introduce subsections in the OPTIONS section to group them together, like this (sorry, not a patch)?

OPTIONS -------

Options related to merging <---- added ~~~~~~~~~~~~~~~~~~~~~~~~~~ <---- added include::merge-options.txt[]

:git-pull: 1
--rebase::
	Instead of a merge, perform a rebase after fetching.  If
	there is a remote ref for the upstream branch, and this branch
	was rebased since last fetched, the rebase uses that information
	to avoid rebasing non-local changes. To make this the default
	for branch `<name>`, set configuration `branch.<name>.rebase`
	to `true`.
+
[NOTE]
This is a potentially _dangerous_ mode of operation.
It rewrites history, which does not bode well when you
published that history already.  Do *not* use this option
unless you have read linkgit:git-rebase[1] carefully.
--no-rebase::
	Override earlier --rebase.

Options related to fetching <---- added ~~~~~~~~~~~~~~~~~~~~~~~~~~~ <---- added include::fetch-options.txt[]

include::pull-fetch-param.txt[]
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
Previous: Jari AaltoNext: Jeff King
Message 5 of 7 in “Documentation/fetch-options.txt: order options alphabetically”
  1. Documentation/fetch-options.txt: order options alphabeticallyJari Aalto, Oct 21, 2009
  2. Junio C HamanoOct 21, 2009
  3. Junio C HamanoOct 21, 2009
  4. Jari AaltoOct 22, 2009
  5. Nanako ShiraishiOct 22, 2009
  6. Jeff KingOct 22, 2009
  7. Documentation/git-pull.txt: Add subtitles above included option filesJari Aalto, Oct 22, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.