From: "Jonathan del Strother" <maillist@steelskies.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: git log -S doesn't search stash WIPs
Date: Fri, 8 Feb 2008 10:46:08 +0000 [thread overview]
Message-ID: <57518fd10802080246p4a929b62tc6e260a16d3587@mail.gmail.com> (raw)
"git log --all -Sfoo" doesn't find strings introduced in stash WIP
commits, only the stash index. That is, if I do :
$ echo foo >> file
$ git add file
$ echo bar >> file
$ git stash
Saved working directory and index state "WIP on master: 00495fc... initial"
(To restore them type "git stash apply")
HEAD is now at 00495fc... initial
$ git log --all -Sfoo
commit a8834ce80ebdf84e6579280c1fc75cdb7b4ac7c9
Author: Jonathan del Strother <me@here.com>
Date: Fri Feb 8 10:43:44 2008 +0000
index on master: 00495fc... initial
$ git log --all -Sbar
<this space intentionally left blank>
Is this intentional? Am I missing some git-log option that would
allow me to search the stash WIPs?
next reply other threads:[~2008-02-08 10:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 10:46 Jonathan del Strother [this message]
2008-02-08 12:18 ` git log -S doesn't search stash WIPs Johannes Schindelin
2008-02-09 15:18 ` Jonathan del Strother
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=57518fd10802080246p4a929b62tc6e260a16d3587@mail.gmail.com \
--to=maillist@steelskies.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;
as well as URLs for NNTP newsgroup(s).