Re: [PATCH v3 23/24] introduce GIT_INDEX_VERSION environment variable
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Aug 21, 2013, 00:57 UTC
- Message-ID
- <CACsJy8A_gJXUm2WVPCXDZbWFCusvyoEUJaGJT_ROC9uzxc_A6w@mail.gmail.com>
- In-Reply-To
- <1376854933-31241-24-git-send-email-t.gummerer@gmail.com>
On Mon, Aug 19, 2013 at 2:42 AM, Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 8 quoted lines
> Respect a GIT_INDEX_VERSION environment variable, when a new index is > initialized. Setting the environment variable will not cause existing > index files to be converted to another format for additional safety. > > Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> > --- > read-cache.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-)
There should be a line or two about this variable in git.txt, section "Environment variables". We could even have core.defaultIndexVersion for people who don't want to set environment variables (and set this key in ~/.gitconfig instead) but this is not important now.
-- Duy