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

Re: [PATCH] Documentation/git-pull: clarify configuration

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 10, 2010, 03:48 UTC
Message-ID
<20101110034846.GB2401@burratino>
In-Reply-To
<1289336209-28222-1-git-send-email-martin.von.zweigbergk@gmail.com>
Martin von Zweigbergk wrote:
> The sentence about 'branch.<name>.rebase' refers to the first sentence
> in the paragraph. Clarify by moving it right after that sentence.
Sane.
Show 15 quoted lines
> --- a/Documentation/git-pull.txt
> +++ b/Documentation/git-pull.txt
> @@ -92,12 +92,11 @@ 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`.
> +	Instead of a merge, perform a rebase after fetching. To make this
> +	the default for branch `<name>`, set configuration
> +	`branch.<name>.rebase` to `true`.

Grammatically, the narrator first gives an order to the git program ("perform a rebase") and then to the person configuring it ("set the configuration"). Maybe it would be clearer to focus on what the program does in this case?

	Instead of merging, rebase the current branch on top of the
	upstream branch after fetching.  If there is a remote-tracking
	branch corresponding to the upstream branch and the upstream
	branch was rebased since last fetched, the rebase uses that
	information to avoid rebasing non-local changes.
	The default behavior is to merge rather than rebasing, but it
	can be overridden per branch with the `branch.<name>.rebase`
	configuration item (see git-config(1)).
Previous: Martin von ZweigbergkNext: Jonathan Nieder
Message 2 of 3 in “Documentation/git-pull: clarify configuration”
  1. Documentation/git-pull: clarify configurationMartin von Zweigbergk, Nov 9, 2010
  2. Jonathan NiederNov 10, 2010
  3. When is a patch ready for inclusion? (Re: [PATCH] Documentation/git-pull: clarify configuration)Jonathan Nieder, Nov 10, 2010

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.