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

Fatal bug on revert with --author

From
ALAndreas Lutro <anlutro@gmail.com>
Date
May 30, 2016, 14:16 UTC
Message-ID
<CAKYJjwgkH5gtQHsV_=4O0SGqb6GEXWC=rdFWO9Jv36dL-NaPcw@mail.gmail.com>

So I learned today that --author is not a supported argument to git revert. It took me a long time to realize this, though, because the error I got was very cryptic:

  fatal: BUG: expected exactly one commit from walk

Here's a very simple reproducible case: https://gist.github.com/anlutro/67e0cec1a6a419e6d44131b0bc1deff6

I was recommended to send this report here by #git on irc.freenode.net.

Thanks, Andreas

Next: Jeff King
Message 1 of 2 in “Fatal bug on revert with --author”
  1. Andreas LutroMay 30, 2016
  2. Jeff KingMay 30, 2016

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.