threads / patch / 8074

patchDocument -S option to git-log.

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

## tl;dr

One message between May 11, 2007 and May 11, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johan Herland· May 11, 2007, 00:11 UTC · lore

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(-)
Show changes to Documentation/git-log.txt +3 −0
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

← back to recent threads