Git development
 help / color / mirror / Atom feed
From: "Jonathan del Strother" <maillist@steelskies.com>
To: "Brian Foster" <brian.foster@innova-card.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: [Q] Finding the commit that removed a symbol?
Date: Tue, 5 Aug 2008 12:47:35 +0100	[thread overview]
Message-ID: <57518fd10808050447h2df6da07vb001ed8862076992@mail.gmail.com> (raw)
In-Reply-To: <200808051343.07370.brian.foster@innova-card.com>

On Tue, Aug 5, 2008 at 12:43 PM, Brian Foster
<brian.foster@innova-card.com> wrote:
>
>  I'm a bit puzzled as to how to do find a commit which
>  removed a symbol.  This is not a 'bisect' per se (or at
>  least I don't think it is ?); I know exactly what I am
>  looking for, but am not quite sure how to find it.
>
>  I know that between tags A (older) and B (younger)
>  a certain symbol S, defined in file F, vanished.
>  A:F has S; B:F does not.  (There are many commits
>  affecting F between A and B, albeit most don't involve
>  S per se.)  S isn't mentioned in any commit comments,
>  else I could search the output of:   git log A..B -- F
>
>  Actually, using gitk(1) — gitk A..B -- F — I've found
>  what I'm looking for, so I guess what I'm now wondering
>  is if there's a better/easier/faster(/non-GUI ?) way of
>  doing this?   (My git-newbie-ness may be showing here!)
>

You probably want git log -S'MySymbol'

  reply	other threads:[~2008-08-05 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 11:43 [Q] Finding the commit that removed a symbol? Brian Foster
2008-08-05 11:47 ` Jonathan del Strother [this message]
2008-08-05 12:00   ` Brian Foster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57518fd10808050447h2df6da07vb001ed8862076992@mail.gmail.com \
    --to=maillist@steelskies.com \
    --cc=brian.foster@innova-card.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox