Re: [PATCH] make the pack index version configurable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/2/07, Nicolas Pitre <nico@xxxxxxx> wrote:
>
> +pack.indexVersion::
> +       Specify the default pack index version.  Valid values are 1 for
> +       legacy pack index used by Git versions prior to 1.5.2, and 2 for
> +       the new pack index with capabilities for packs larger than 4 GB
> +       as well as proper protection against the repacking of corrupted
> +       packs.  Version 2 is selected and this config option ignored
> +       whenever the corresponding pack is larger than 2 GB.  Otherwise
> +       the default is 1.

If you're trying to force a previous pack version for some reason
(backward compatibility, or whatever), this "feature" of automatic
forcing version 2 for 2 GB packs might come as a nasty suprise.
Wouldn't it be better to fail with an error?


Dave.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux