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

git revert ignore whitespace

From
SSteven <redalert.commander@gmail.com>
Date
Sep 10, 2010, 07:57 UTC
Message-ID
<14756.91.183.48.98.1284105472.squirrel@stevenleeuw.kwik.to>
Hi,
Please CC me, as I'm not subscribed to the list.

I want to revert a specific commit using 'git revert', however in the meantime there were some whitespace changes. Is it still possible to do this? The manual doesn't mention a -w or --ignore-whitespace option for git revert.

I'm using git 1.7.0.2 (msysgit)

Kind regards, Steven

-- 
Rarely do people communicate; they just take turns talking.
Next: Jeff King
Message 1 of 5 in “git revert ignore whitespace”
  1. StevenSep 10, 2010
  2. Jeff KingSep 10, 2010
  3. StevenSep 10, 2010
  4. Jeff KingSep 10, 2010
  5. Junio C HamanoSep 10, 2010

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.