From: Jonathan Nieder <jrnieder@gmail.com>
To: "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH 3/2] update-index: list supported idx versions and their features
Date: Sat, 23 Feb 2013 12:53:56 -0800 [thread overview]
Message-ID: <20130223205356.GC3222@elie.Belkin> (raw)
In-Reply-To: <1361584468-11820-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy wrote:
> --- a/Documentation/git-update-index.txt
> +++ b/Documentation/git-update-index.txt
> @@ -145,7 +145,15 @@ you will need to handle the situation manually.
>
> --index-version <n>::
> Write the resulting index out in the named on-disk format version.
> - The current default version is 2.
> + Supported versions are 2, 3 and 4. The current default version is 2
> + or 3, depending on whether extra features are used, such as
> + `git add -N`.
> ++
> + Version 4 performs a simple pathname compression that could
> + reduce index size by 30%-50% on large repositories, which
> + results in faster load time. Version 4 is relatively young
> + (first released in 1.8.0 in October 2012). Other Git
> + implementations may not support it yet.
Markup nit: the second paragraph needs to be unindented, or asciidoc
will treat it as literal text, including line breaks.
Usage nit: s/could/can/
Clarity nit: something like "such as JGit and libgit2" after "Other
Git implementations" would make it clearer, at least to my eyes.
Aside from that, this looks like a good change.
Thanks,
Jonathan
next prev parent reply other threads:[~2013-02-23 20:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 12:09 [PATCH 1/2] index-format.txt: mention of v4 is missing in some places Nguyễn Thái Ngọc Duy
2013-02-22 12:09 ` [PATCH 2/2] read-cache.c: use INDEX_FORMAT_{LB,UB} in verify_hdr() Nguyễn Thái Ngọc Duy
2013-02-22 20:49 ` Junio C Hamano
2013-02-23 1:54 ` [PATCH 3/2] update-index: list supported idx versions and their features Nguyễn Thái Ngọc Duy
2013-02-23 20:53 ` Jonathan Nieder [this message]
2013-02-23 21:23 ` Junio C Hamano
2013-02-23 21:53 ` Jonathan Nieder
2013-02-23 2:29 ` [PATCH v2 " Nguyễn Thái Ngọc Duy
2013-02-23 20:55 ` Jonathan Nieder
2013-02-22 20:46 ` [PATCH 1/2] index-format.txt: mention of v4 is missing in some places Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130223205356.GC3222@elie.Belkin \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).