Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] doc: clarify how -S works

From: Jeff King <hidden>
Date: 2016-06-15 22:46:19

On Tue, Mar 03, 2009 at 05:39:38PM +0000, John Tapsell wrote:
quoted
Yes, that is technically correct. I was trying to find a wording that
was a little less "this is literally what it does" and more "this is
what you might find it useful for".
Is there any way to have an option to also match any line containing
the string?  That might be the best way to document it, as well as
being very useful:

-s<string>
   Look for any additions, removals or changes in any line containing <string>
-S<string>
   Look only for any additions or removals of the <string> in any line
Yes, that would be possible (though it is still not foolproof against
moves, as I mentioned elsewhere), and I think it would be simple to
explain the two together.  It just needs somebody to code it.

Unfortunately "-s" is already taken for "no output".

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help