From: David Aguilar <davvid@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Sebastian Schuberth <sschuberth@gmail.com>,
Pat Thoyts <patthoyts@users.sourceforge.net>,
Olivier Croquette <ocroquette@free.fr>,
git@vger.kernel.org
Subject: Re: [PATCH] Copy mergetool "bc3" as "bc4"
Date: Tue, 21 Oct 2014 01:44:38 -0700 [thread overview]
Message-ID: <20141021084436.GA39148@gmail.com> (raw)
In-Reply-To: <xmqqfvei37qg.fsf@gitster.dls.corp.google.com>
On Mon, Oct 20, 2014 at 11:40:23AM -0700, Junio C Hamano wrote:
> Sebastian Schuberth <sschuberth@gmail.com> writes:
>
> >> Perhaps something like this, so that existing users can still use
> >> "bc3" and other people can use "bc" if it bothers them that they
> >> have to say "3" when the backend driver works with both 3 and 4?
> >
> > That indeed sounds like the best approach.
> >
> >> --- a/git-mergetool--lib.sh
> >> +++ b/git-mergetool--lib.sh
> >> @@ -250,7 +250,7 @@ list_merge_tool_candidates () {
> >> tools="opendiff kdiff3 tkdiff xxdiff meld $tools"
> >> fi
> >> tools="$tools gvimdiff diffuse diffmerge ecmerge"
> >> - tools="$tools p4merge araxis bc3 codecompare"
> >> + tools="$tools p4merge araxis bc bc3 codecompare"
> >
> > Why keep bc3 here?
>
> I didn't carefully look at the code that uses this list to see if we
> have to list everything or can list just the ones we recommend, and
> erred on the safer side (unlike the one for completion where I
> omitted bc3 as "deprecated").
We should drop "bc3" here. This is the list of candidates that
is used when no configuration exists. Listing "bc" twice here
implies that we might try that candidate twice.
Otherwise, this patch looks like the right way to go ~ it makes
"bc" available and keeps compatibility for "bc3".
If we wanted to phase out "bc3" for Git 3.0 we could start
warning inside of the "bc3" scriptlet, but I don't see any
reason to do so a.t.m.
Thanks,
--
David
next prev parent reply other threads:[~2014-10-21 8:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 11:03 [PATCH] Copy mergetool "bc3" as "bc4" Olivier Croquette
2014-10-20 16:40 ` Junio C Hamano
2014-10-20 17:32 ` Junio C Hamano
2014-10-20 18:23 ` Sebastian Schuberth
2014-10-20 18:40 ` Junio C Hamano
2014-10-21 8:44 ` David Aguilar [this message]
2014-10-21 18:27 ` Junio C Hamano
2014-10-20 20:35 ` Olivier Croquette
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=20141021084436.GA39148@gmail.com \
--to=davvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ocroquette@free.fr \
--cc=patthoyts@users.sourceforge.net \
--cc=sschuberth@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 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).