]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-log.txt
Merge branch 'tr/rfc-reset-doc' into maint
[git.git] / Documentation / git-log.txt
index 8a69647f5c36979daea537f20cab6f02875ff619..c213bdbdc500b1117805bc84cb2a0f31eeff3bcd 100644 (file)
@@ -23,9 +23,6 @@ each commit introduces are shown.
 OPTIONS
 -------
 
-:git-log: 1
-include::diff-options.txt[]
-
 -<n>::
        Limits the number of commits to show.
 
@@ -36,6 +33,10 @@ include::diff-options.txt[]
        For a more complete list of ways to spell <since>
        and <until>, see linkgit:gitrevisions[1].
 
+--follow::
+       Continue listing the history of a file beyond renames
+       (works only for a single file).
+
 --no-decorate::
 --decorate[=short|full|no]::
        Print out the ref names of any commits that are shown. If 'short' is
@@ -54,9 +55,9 @@ include::diff-options.txt[]
        paths.  With this, the full diff is shown for commits that touch
        the specified paths; this means that "<path>..." limits only
        commits, and doesn't limit diff for those commits.
-
---follow::
-       Continue listing the history of a file beyond renames/copies.
++
+Note that this affects all diff-based output types, e.g. those
+produced by --stat etc.
 
 --log-size::
        Before the log message print out its size in bytes. Intended
@@ -71,6 +72,11 @@ include::diff-options.txt[]
        to be prefixed with "\-- " to separate them from options or
        refnames.
 
+Common diff options
+~~~~~~~~~~~~~~~~~~~
+
+:git-log: 1
+include::diff-options.txt[]
 
 include::rev-list-options.txt[]