git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in git-verify-pack or in its documentation?
@ 2015-03-16  8:05 Mike Hommey
  2015-03-16 10:13 ` Duy Nguyen
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Hommey @ 2015-03-16  8:05 UTC (permalink / raw)
  To: git

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).

The text above also implies that this should only display the stats
without doing any sha1 validation, but afaict from a quick glance at
the index-pack code, they are always performed.

Is it an implementation problem or a documentation problem?

Cheers,

Mike

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-19 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16  8:05 Bug in git-verify-pack or in its documentation? Mike Hommey
2015-03-16 10:13 ` Duy Nguyen
2015-03-16 13:18   ` Mike Hommey
2015-03-18 12:31     ` Duy Nguyen
2015-03-19 17:59       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).