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

Re: Bug in git-verify-pack or in its documentation?

From
Duy Nguyen <pclouds@gmail.com>
Date
Mar 18, 2015, 12:31 UTC
Message-ID
<CACsJy8B=S9ajzj9N-JoCou6_FVj9VgCHEkZ2AiQ=zR=aCLKXuw@mail.gmail.com>
In-Reply-To
<20150316131808.GA19353@glandium.org>
On Mon, Mar 16, 2015 at 8:18 PM, Mike Hommey <mh@glandium.org> wrote:
Show 18 quoted lines
> On Mon, Mar 16, 2015 at 05:13:25PM +0700, Duy Nguyen wrote:
>> On Mon, Mar 16, 2015 at 3:05 PM, Mike Hommey <mh@glandium.org> wrote:
>> > Hi,
>> >
>> > git-verify-pack's man page says the following about --stat-only:
>> >
>> >    Do not verify the pack contents; only show the histogram of delta
>> >    chain length. With --verbose, list of objects is also shown.
>> >
>> > However, there is no difference of output between --verbose and
>> > --verbose --stat-only (and in fact, looking at the code, only one of
>> > them has an effect, --stat-only having precedence).
>>
>> There is. very-pack --verbose would show a lot of "<sha-1> <type>
>> <"random" numbers>" lines before the histogram while --stat-only (with
>> or without --verbose) would only show the histogram.
>
> Err, I meant between --stat-only and --verbose --stat-only.
Yeah --verbose is always ignored when --stat-only is set. This command is funny.
-- 
Duy
Previous: Mike HommeyNext: Junio C Hamano
Message 4 of 5 in “Bug in git-verify-pack or in its documentation?”
  1. Mike HommeyMar 16, 2015
  2. Duy NguyenMar 16, 2015
  3. Mike HommeyMar 16, 2015
  4. Duy NguyenMar 18, 2015
  5. Junio C HamanoMar 19, 2015

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.