From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>,
git@vger.kernel.org, Brandon Williams <bmwill@google.com>
Subject: Re: [PATCH v3 6/6] Use the early config machinery to expand aliases
Date: Wed, 14 Jun 2017 12:21:42 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.21.1.1706141221020.171564@virtualbox> (raw)
In-Reply-To: <20170614060502.ljuvdxcbara3zfjx@sigill.intra.peff.net>
Hi Peff,
On Wed, 14 Jun 2017, Jeff King wrote:
> On Tue, Jun 13, 2017 at 09:21:30AM -0700, Junio C Hamano wrote:
>
> > > alias.c | 31 ++++++++++++++++++++++++-------
> > > git.c | 55 ++++---------------------------------------------------
> > > t/t7006-pager.sh | 2 +-
> > > 3 files changed, 29 insertions(+), 59 deletions(-)
> >
> > Happy to see the deletion of all the save/restore-env stuff.
> >
> > Except for the puzzlement in one paragraph in the log, looks very
> > good. Thanks for a pleasant reading.
>
> The whole thing looks good to me, too, though we should decide what to
> do with the point that Brandon raised.
>
> As far as the "streamline" puzzlement goes, I'm OK with either of:
>
> - taking your suggestion from the other thread and actually doing that
> streamlining, which is one less thing to have to explain
>
> - leaving the code as-is and tweaking the commit message (though it
> made sense to me)
I fixed the thing in the way you suggested (which worked after Junio hit
me with the cluebat about skip_prefix() and git_config_string()).
Ciao,
Dscho
next prev parent reply other threads:[~2017-06-14 10:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 12:04 [PATCH v3 0/6] Avoid problem where git_dir is set after alias expansion Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 1/6] discover_git_directory(): avoid setting invalid git_dir Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 2/6] config: report correct line number upon error Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 3/6] help: use early config when autocorrecting aliases Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 4/6] t1308: relax the test verifying that empty alias values are disallowed Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 5/6] t7006: demonstrate a problem with aliases in subdirectories Johannes Schindelin
2017-06-13 12:04 ` [PATCH v3 6/6] Use the early config machinery to expand aliases Johannes Schindelin
2017-06-13 16:21 ` Junio C Hamano
2017-06-14 6:05 ` Jeff King
2017-06-14 10:21 ` Johannes Schindelin [this message]
2017-06-14 10:20 ` Johannes Schindelin
2017-06-13 18:26 ` Brandon Williams
2017-06-14 5:58 ` Jeff King
2017-06-14 10:24 ` Johannes Schindelin
2017-06-14 17:20 ` Brandon Williams
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.21.1.1706141221020.171564@virtualbox \
--to=johannes.schindelin@gmx.de \
--cc=bmwill@google.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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