From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Jeff King <peff@peff.net>,
John Keeping <john@keeping.me.uk>, Duy Nguyen <pclouds@gmail.com>
Subject: Re: [PATCH v2] git config: report when trying to modify a non-existing repo config
Date: Thu, 25 Feb 2016 16:54:48 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.20.1602251654160.3152@virtualbox> (raw)
In-Reply-To: <xmqqlh69spt4.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Wed, 24 Feb 2016, Junio C Hamano wrote:
> Junio C Hamano <gitster@pobox.com> writes:
>
> > Johannes Schindelin <johannes.schindelin@gmx.de> writes:
> >
> >> diff --git a/t/t1308-config-set.sh b/t/t1308-config-set.sh
> >> index 91235b7..f62409e 100755
> >> --- a/t/t1308-config-set.sh
> >> +++ b/t/t1308-config-set.sh
> >> @@ -218,4 +218,13 @@ test_expect_success 'check line errors for malformed values' '
> >> test_i18ngrep "fatal: .*alias\.br.*\.git/config.*line 2" result
> >> '
> >>
> >> +test_expect_success 'error on modifying repo config without repo' '
> >> + mkdir no-repo &&
> >> + GIT_CEILING_DIRECTORIES=$(pwd) &&
> >> + export GIT_CEILING_DIRECTORIES &&
> >> + cd no-repo &&
> >> + test_must_fail git config a.b c 2>err &&
> >> + grep "not in a git directory" err
> >> +'
> >> +
> >> test_done
> >
> > Please make it a habit to run tests that go up/down in the hierarchy
> > in a subshell. It is not a good excuse that this new test happens
> > to be at the end _right now_.
>
> I'd squash this in.
Please do, unless you want me to resend with the squashed commit (I picked
up the change from your 'pu' branch)?
Ciao,
Dscho
prev parent reply other threads:[~2016-02-25 15:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 7:47 [PATCH] git config: do not create .git/ if it does not exist yet Johannes Schindelin
2016-02-24 8:26 ` Jeff King
2016-02-24 10:14 ` John Keeping
2016-02-24 10:31 ` Jeff King
2016-02-24 11:31 ` Johannes Schindelin
2016-02-24 12:13 ` Johannes Schindelin
2016-02-24 12:34 ` Jeff King
2016-02-24 18:45 ` Junio C Hamano
2016-02-24 11:01 ` Duy Nguyen
2016-02-24 12:48 ` [PATCH v2] git config: report when trying to modify a non-existing repo config Johannes Schindelin
2016-02-24 12:59 ` Duy Nguyen
2016-02-24 13:26 ` Johannes Schindelin
2016-02-24 13:29 ` Duy Nguyen
2016-02-24 20:11 ` Junio C Hamano
2016-02-24 22:31 ` Junio C Hamano
2016-02-25 15:54 ` Johannes Schindelin [this message]
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=alpine.DEB.2.20.1602251654160.3152@virtualbox \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=john@keeping.me.uk \
--cc=pclouds@gmail.com \
--cc=peff@peff.net \
/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).