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

[BUG?] git revert option parsing too lenient?

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
May 11, 2011, 10:40 UTC
Message-ID
<BANLkTi=dPzu0wrDr3aycEv68M2tw7k5m8A@mail.gmail.com>
Heya,

I just did 'git revert -p <commit>', hoping I might be able to partially revert a commit, but it just ignored the -p (it's not supported) rather than erroring out. Is this expected behavior?

-- 
Cheers,

Sverre Rabbelier
Next: Jeff King
Message 1 of 5 in “[BUG?] git revert option parsing too lenient?”
  1. Sverre RabbelierMay 11, 2011
  2. Jeff KingMay 11, 2011
  3. Sverre RabbelierMay 11, 2011
  4. Jeff KingMay 11, 2011
  5. Sverre RabbelierMay 11, 2011

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.