From: Junio C Hamano <gitster@pobox.com>
To: Thomas Gummerer <t.gummerer@gmail.com>
Cc: git@vger.kernel.org, pclouds@gmail.com
Subject: Re: [PATCH] t7063: fix breakage with split index
Date: Sat, 06 Jun 2015 23:20:35 -0700 [thread overview]
Message-ID: <xmqq1thodop8.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <1433547093-6616-1-git-send-email-t.gummerer@gmail.com> (Thomas Gummerer's message of "Sat, 6 Jun 2015 01:31:33 +0200")
Thomas Gummerer <t.gummerer@gmail.com> writes:
> When running the test suite with GIT_TEST_SPLIT_INDEX set, tests 17-18
> in t7063 fail. Unset GIT_TEST_SPLIT_INDEX at the beginning of the test,
> in order to fix it.
That is not fixing but sweeping the problem under the rug, is it?
Duy, untracked-cache is a fairly new toy and I wouldn't be surprised
if it has un-thought-out interaction with split-index which is also
a fairly new exotic toy. As both are from you, can you take a look
at it?
We may want to make it easier to run tests with TEST-SPLIT-INDEX, if
we envision that the feature will bring us sufficient benefit and we
would eventually want to encourage its use to more people. As it
stands now, only people who are curious enough opt into trying it
out by exporting the environment, which would be done by a tiny
minority of developers and users.
Thanks.
>
> Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
> ---
>
> Hi,
>
> This breakage is both in the current master and next. I'm not entirely
> sure this is the best way to solve the issue, but unfortunately I don't
> have any more time to look into this.
>
> t/t7063-status-untracked-cache.sh | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh
> index bd4806c..2f958c7 100755
> --- a/t/t7063-status-untracked-cache.sh
> +++ b/t/t7063-status-untracked-cache.sh
> @@ -8,6 +8,8 @@ avoid_racy() {
> sleep 1
> }
>
> +unset GIT_TEST_SPLIT_INDEX
> +
> # It's fine if git update-index returns an error code other than one,
> # it'll be caught in the first test.
> test_lazy_prereq UNTRACKED_CACHE '
next prev parent reply other threads:[~2015-06-07 6:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 23:31 [PATCH] t7063: fix breakage with split index Thomas Gummerer
2015-06-07 6:20 ` Junio C Hamano [this message]
2015-06-07 10:40 ` [PATCH] read-cache: fix untracked cache invalidation when split-index is used Nguyễn Thái Ngọc Duy
2015-06-08 16:49 ` 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=xmqq1thodop8.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=pclouds@gmail.com \
--cc=t.gummerer@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.