git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Chris DownNext: Junio C Hamano
Message 2 of 4 in “bisect--helper: warn if we are assuming an unlikely pathspec”
  1. bisect--helper: warn if we are assuming an unlikely pathspecChris Down, May 1, 2022
  2. Bagas SanjayaMay 2, 2022
  3. Junio C HamanoMay 2, 2022
  4. Chris DownMay 3, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.