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

Re: [Q] Finding the commit that removed a symbol?

From
BFBrian Foster <brian.foster@innova-card.com>
Date
Aug 5, 2008, 12:00 UTC
Message-ID
<200808051400.55936.brian.foster@innova-card.com>
In-Reply-To
<57518fd10808050447h2df6da07vb001ed8862076992@mail.gmail.com>
On Tuesday 05 August 2008 13:47:35 Jonathan del Strother wrote:
>[ ... ]
> You probably want git log -S'MySymbol'
Jonathan,
  Thanks!  That did it, exactly (finding, in fact, only
 two commits:  The one that added the symbol, and the one
 I was looking for, the one that removed it).
  I was unwares of ‘-S’ because git-log(1) for v1.5.2.5
 did not list it (albeit it seems to exist).  Consulting
 the v1.5.5 documentation, it's listed.  Thanks to whoever
 fixed/updated the documentation.
cheers!
	-blf-
-- 
“How many surrealists does it take to   | Brian Foster
 change a lightbulb? Three. One calms   | somewhere in south of France
 the warthog, and two fill the bathtub  |   Stop E$$o (ExxonMobil)!
 with brightly-coloured machine tools.” |      http://www.stopesso.com
Previous: Jonathan del Strother
Message 3 of 3 in “[Q] Finding the commit that removed a symbol?”
  1. Brian FosterAug 5, 2008
  2. Jonathan del StrotherAug 5, 2008
  3. Brian FosterAug 5, 2008

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.