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

Ambigious messages

From
EKEugen Konkov <kes-kes@yandex.ru>
Date
Jul 31, 2021, 08:46 UTC
Message-ID
<644619140.20210731114616@yandex.ru>
$ git checkout 51c7d41b82b5b
error: Your local changes to the following files would be overwritten by checkout:
       lib/Mojo/IOLoop/Stream.pm
Please commit your changes or stash them before you switch branches.
Aborting
$ git checkout lib/Mojo/IOLoop/Stream.pm
error: pathspec 'lib/Mojo/IOLoop/Stream.pm' did not match any file(s) known to git

$ git add lib/Mojo/IOLoop/Stream.pm The following pathspecs didn't match any eligible path, but they do match index entries outside the current sparse checkout: lib/Mojo/IOLoop/Stream.pm hint: Disable or modify the sparsity rules if you intend to update such entries. hint: Disable this message with "git config advice.updateSparsePath false"

$ git --version git version 2.32.0

Here I do not understand how to checkout to different commit or how to commit the subject file

It would be nice to show hint about how to exlude this file from unindex

-- Best regards, Eugen Konkov

Next: Philip Oakley
Message 1 of 4 in “Ambigious messages”
  1. Eugen KonkovJul 31, 2021
  2. Philip OakleyJul 31, 2021
  3. Elijah NewrenAug 1, 2021
  4. Eugen KonkovAug 2, 2021

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.