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

cg-seek messed me up

From
ZBZack Brown <zbrown@tumblerings.org>
Date
May 31, 2005, 14:33 UTC
Message-ID
<20050531143318.GB27047@tumblerings.org>
Hi folks,

I'm not positive, but I *think* I shot myself in the foot by doing a cg-seek when there were uncommitted changes in my working file set. The patching process created duplicate areas in the files, while losing other areas and giving patch rejects. Before I figured out the problem, I wasn't even able to seek to a known state because of this, so I ended up having to recreate the files as best as I could from the mess I was left with in the working directory. I realize I could have gotten a clean tree by cloning, but this didn't occur to me at the time. It seemed like the whole repository was just corrupt.

I think I recovered everything, and I know it was my own mistake, but it seems like this will be a common blunder by users. Maybe cg-seek should first do a comparison between the working tree and the most recent known state. If the two differ, it should exit with an error.

Be well, Zack

-- 
Zack Brown
Next: Thomas Glanzmann
Message 1 of 4 in “cg-seek messed me up”
  1. Zack BrownMay 31, 2005
  2. Thomas GlanzmannMay 31, 2005
  3. randy_dunlapMay 31, 2005
  4. Petr BaudisMay 31, 2005

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.