From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Chris Down <chris@chrisdown.name>, git@vger.kernel.org
Cc: Christian Couder <chriscool@tuxfamily.org>,
Johannes Schindelin <johannes.schindelin@gmx.de>,
Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] bisect--helper: warn if we are assuming an unlikely pathspec
Date: Mon, 2 May 2022 12:50:57 +0700 [thread overview]
Message-ID: <48cd2ce4-feac-b028-daad-2df6aa71e363@gmail.com> (raw)
In-Reply-To: <Ym59GmfWpCSV9Bqr@chrisdown.name>
On 5/1/22 19:29, Chris Down wrote:
> In order to avoid this, emit a warning when we are assuming an argument
> is a pathspec, but no such path exists in the checkout and this doesn't
> look like a pathspec according to looks_like_pathspec:
>
> $ git bisect start d93ff48803f0 v6.3
> warning: assuming 'v6.3' is a path
> $
>
For completeness, we can say 'If this is incorrect, abort the current
bisection with "git bisect reset" and rerun with correct commit-ish.'.
--
An old man doll... just what I always wanted! - Clara
next prev parent reply other threads:[~2022-05-02 5:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-01 12:29 [PATCH] bisect--helper: warn if we are assuming an unlikely pathspec Chris Down
2022-05-02 5:50 ` Bagas Sanjaya [this message]
2022-05-02 6:22 ` Junio C Hamano
2022-05-03 18:51 ` Chris Down
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=48cd2ce4-feac-b028-daad-2df6aa71e363@gmail.com \
--to=bagasdotme@gmail.com \
--cc=chris@chrisdown.name \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=johannes.schindelin@gmx.de \
/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).