Re: [PATCH] bisect--helper: warn if we are assuming an unlikely pathspec
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- May 2, 2022, 05:50 UTC
- Message-ID
- <48cd2ce4-feac-b028-daad-2df6aa71e363@gmail.com>
- In-Reply-To
- <Ym59GmfWpCSV9Bqr@chrisdown.name>
On 5/1/22 19:29, Chris Down wrote:
Show 8 quoted lines
> 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