On Sun, Sep 02, 2007 at 04:16:05PM -0700, Junio C Hamano wrote:
This will quickly turn into an FAQ.
Indeed. I went and added it to the Wiki/FAQ.
Also I noticed that git-log was missing the descriptions for '--color'
and '--no-color'.
Signed-off-by: Jing Xue <redacted>
---
Documentation/git-log.txt | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 5ec547c..c42ca89 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -72,6 +72,14 @@ include::pretty-options.txt[]
Note that only message is considered, if also a diff is shown
its size is not included.
+--color::
+ Show colored log entries. Same as if `color.diff` were set to
+ "true".
+
+--no-color::
+ Turn off colored log entries, even when `color.diff` sets the
+ default to color output.
+
<paths>...::
Show only commits that affect the specified paths.
--
1.5.3