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

Re: git log -Sfoo ignores indentation (whitespace?) changes...

From
PLPeter Valdemar Mørch (Lists) <4ux6as402@sneakemail.com>
Date
Mar 3, 2009, 15:48 UTC
Message-ID
<49AD5164.8090507@sneakemail.com>
In-Reply-To
<20090303152333.GB24593@coredump.intra.peff.net>

How sad... From "git log -Sfoo" looking like a really cool feature, it now for me goes into the "must be plumbing because I have no use for it" bin, as I can't rely on it:

If a commit removes mention of foo one place and just accidentally happens to add foo somewhere completely unrelated then it wouldn't show up in the output.

Would be neat with a feature that does what I thought -S did tho...
Thanks, Jeff, for both the answer and the documentation patch.
Peter
-- 
Peter Valdemar Mørch
http://www.morch.com
Previous: Junio C HamanoNext: Jeff King
Message 12 of 17 in “git log -Sfoo ignores indentation (whitespace?) changes...”
  1. Peter Valdemar Mørch (Lists)Mar 3, 2009
  2. Jeff KingMar 3, 2009
  3. doc: clarify how -S worksJeff King, Mar 3, 2009
  4. John TapsellMar 3, 2009
  5. Jeff KingMar 3, 2009
  6. John TapsellMar 3, 2009
  7. Junio C HamanoMar 3, 2009
  8. Jeff KingMar 3, 2009
  9. John TapsellMar 3, 2009
  10. Jeff KingMar 3, 2009
  11. Junio C HamanoMar 3, 2009
  12. Peter Valdemar Mørch (Lists)Mar 3, 2009
  13. Jeff KingMar 3, 2009
  14. Junio C HamanoMar 3, 2009
  15. Michael J GruberMar 3, 2009
  16. Jeff KingMar 3, 2009
  17. Junio C HamanoMar 3, 2009

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.