Fatal bug on revert with --author
- From
- Andreas 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