# [PATCH 1/1] Document -S option to git-log.

1 messages from 2007-05-11 to 2007-05-11. Participants: Johan Herland.
Thread: https://gitlist.dev/t/8074

## Johan Herland, 2007-05-11 00:11

Subject: [PATCH 1/1] Document -S option to git-log.
Message-ID: <200705110211.24929.johan@herland.net>
URL: https://gitlist.dev/e/200705110211.24929.johan%40herland.net

```
The -S option to git-log is used early on in the user manual. This
indicates that it is probably one of the more used options to git-log,
and should therefore be part of the git-log manual page.

Signed-off-by: Johan Herland <johan@herland.net>
---
 Documentation/git-log.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 49bb539..a10ec54 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -51,6 +51,9 @@ include::pretty-formats.txt[]
 	a record about how the tip of a reference was changed.
 	See also gitlink:git-reflog[1].
 
+-S<string>::
+	Show commits where the difference contains the change in <string>.
+
 <paths>...::
 	Show only commits that affect the specified paths.
 
-- 
1.5.0.7


```
