From: Junio C Hamano <gitster@pobox.com>
To: Manlio Perillo <manlio.perillo@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git.c: add --index-file command-line option.
Date: Sat, 15 Dec 2012 11:36:33 -0800 [thread overview]
Message-ID: <7vliczrttq.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <50CCC73B.3070802@gmail.com> (Manlio Perillo's message of "Sat, 15 Dec 2012 19:53:47 +0100")
Manlio Perillo <manlio.perillo@gmail.com> writes:
> Il 15/12/2012 19:02, Junio C Hamano ha scritto:
>> Manlio Perillo <manlio.perillo@gmail.com> writes:
>>
>>> Unlike other environment variables (e.g. GIT_WORK_TREE,
>>> GIT_NAMESPACE), it was not possible to set the GIT_INDEX_FILE
>>> environment variable using the command line.
>>
>> Is this necessary? I'd prefer to see a better reason than "just
>> because others have it".
>
> A long running program will be able to tell git to use an alternate
> index file, without having to modify its own environment,...
Hrm, isn't that the single-shot environment export syntax
GIT_INDEX_FILE=foo git blah
is for? Is there a real-world need for this?
next prev parent reply other threads:[~2012-12-15 19:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-14 11:23 [PATCH] git.c: add --index-file command-line option Manlio Perillo
2012-12-15 18:02 ` Junio C Hamano
2012-12-15 18:53 ` Manlio Perillo
2012-12-15 19:36 ` Junio C Hamano [this message]
2012-12-15 22:01 ` Manlio Perillo
2012-12-16 5:59 ` Junio C Hamano
2012-12-16 8:20 ` Manlio Perillo
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vliczrttq.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=manlio.perillo@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).