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

Re: [PATCH] pack-format: document missing fields

From
Danh Doan <congdanhqx@gmail.com>
Date
Apr 10, 2020, 01:19 UTC
Message-ID
<20200410011925.GB2462@danh.dev>
In-Reply-To
<xmqqlfn4mjm3.fsf@gitster.c.googlers.com>
On 2020-04-09 14:31:32-0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> "Alba Mendez via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 
> >       4-byte version number (network byte order):
> > -	 Git currently accepts version number 2 or 3 but
> > +         Git currently accepts version number 2 or 3 but
> >           generates version 2 only.
> 
> Hmph, what is this hunk about?

The original line is "<TAB><SPACE>Git", she changed to 9 <SPACE> to match with other lines. I guess she set tabstop=4, this paragraph will be mis-aligned on that.

Show 9 quoted lines
> > -     (undeltified representation)
> > -     n-byte type and length (3-bit type, (n-1)*7+4-bit length)
> > -     compressed data
> > -
> > -     (deltified representation)
> > -     n-byte type and length (3-bit type, (n-1)*7+4-bit length)
> > -     20-byte base object name if OBJ_REF_DELTA or a negative relative
> > -	 offset from the delta object's position in the pack if this
> > -	 is an OBJ_OFS_DELTA object

Alba, if you gonna change the above <TAB> to 8 <SPACE> above, you may want to change here, too. This paragraph was written with tabstop=4 in mind. And it's in the context of below hunk.

I'm not sure if changing <TAB> to 8 <SPACE> was expected in this file because <TAB> and <SPACE> is also mixed in "Pack file entry" section.

-- 
Danh
Previous: Junio C Hamano
Message 3 of 3 in “pack-format: document missing fields”
  1. pack-format: document missing fieldsAlba Mendez via GitGitGadget, Apr 9, 2020
  2. Junio C HamanoApr 9, 2020
  3. Danh DoanApr 10, 2020

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.