From: ParetoOptimalDev via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: How do search commits by changes in VC?
Date: Mon, 27 Mar 2023 11:35:33 -0500 [thread overview]
Message-ID: <87r0taup7u.fsf@mailfence.com> (raw)
Hi all, I'm investigating replacing magit with VC.
I frequently use `magit-log` followed by `-G` in the transient to search
changes but wasn't sure how to do this in VC. So my question is how do
you do that?
Before posting this I re-read the manual and I'm guessing most use this
method:
C-u C-x v l
Then change the command to include -p like:
git log -p --no-color -i --grep=
It seems like it would be even more convenient to display all diffs in the root
log accessed with `C-x v L` and use `C-s` for this purpose.
Is that possible? Or is there a better way to do what I'm asking for?
Thanks!
reply other threads:[~2023-03-27 16:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0taup7u.fsf@mailfence.com \
--to=help-gnu-emacs@gnu.org \
--cc=pareto.optimal@mailfence.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).