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

BUG simple "revert" fails

From
ABAnthony Booker <tb@purple-people.org>
Date
Aug 16, 2008, 23:21 UTC
Message-ID
<48A76115.9060909@purple-people.org>

Attached is a tarball with a couple of repositories. eg-sub is a submodule in eg. In eg there's a commit, cd626e6baaa0888c6090e1f040f9f0ba8bfef218, which inappropriately changed a file in eg-sub. It's a newby mistake with git and submodules.

The problem is that the problem can't be reverted. It fails with unknown object It is a submodule.

To reproduce, unpack the tarball, cd to eg and: git revert cd626e6baaa0888c6090e1f040f9f0ba8bfef218

Thanks for your time.
Next: Michael J Gruber
Message 1 of 2 in “BUG simple "revert" fails”
  1. Anthony BookerAug 16, 2008
  2. Michael J GruberAug 18, 2008

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.