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

Re: [PATCH 3/8] Doc: Improve shallow depth wording

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 17, 2012, 05:46 UTC
Message-ID
<7vlig9w6a7.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1347793083-4136-4-git-send-email-philipoakley@iee.org>
Philip Oakley <philipoakley@iee.org> writes:
> Avoid confusion in compound sentence about the start of the commit set
> and the depth measure. Use two sentences.

Dropping the first ',' after "positive depth" does not seem to make it any easier to read (I personally think it makes it a lot harder to read). Splitting the tail-end of the sentence into a separate sentence does make it easier to read, though.

Show 22 quoted lines
>
> Signed-off-by: Philip Oakley <philipoakley@iee.org>
>
> diff --git a/Documentation/technical/pack-protocol.txt b/Documentation/technical/pack-protocol.txt
> index 49cdc57..fa4acab 100644
> --- a/Documentation/technical/pack-protocol.txt
> +++ b/Documentation/technical/pack-protocol.txt
> @@ -258,9 +258,11 @@ a positive depth, this step is skipped.
>    unshallow-line   =  PKT-LINE("unshallow" SP obj-id)
>  ----
>  
> -If the client has requested a positive depth, the server will compute
> -the set of commits which are no deeper than the desired depth, starting
> -at the client's wants. The server writes 'shallow' lines for each
> +If the client has requested a positive depth the server will compute
> +the set of commits which are no deeper than the desired depth. The set
> +of commits start at the client's wants.
> +
> +The server writes 'shallow' lines for each
>  commit whose parents will not be sent as a result. The server writes
>  an 'unshallow' line for each commit which the client has indicated is
>  shallow, but is no longer shallow at the currently requested depth
Previous: Philip OakleyNext: Philip Oakley
Message 2 of 6 in “Doc: Improve shallow depth wording”
  1. 3/8 Doc: Improve shallow depth wordingPhilip Oakley, Sep 16, 2012
  2. Junio C HamanoSep 17, 2012
  3. Philip OakleySep 17, 2012
  4. Junio C HamanoSep 18, 2012
  5. Philip OakleySep 18, 2012
  6. Junio C HamanoSep 18, 2012

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.