Code

Documentation: be precise about which date --pretty uses
authorNikolaus Schulz <microschulz@web.de>
Sat, 5 Jul 2008 00:00:13 +0000 (02:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jul 2008 23:41:11 +0000 (16:41 -0700)
This makes it explicit that the --pretty formats 'medium' and 'email' use the
author date (and ignore the committer date).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt

index ec3755579408ebae58c7de644609590f5636b9c6..69e6d2fa4459313e4a6bdda77847d74d9219e2e1 100644 (file)
@@ -30,7 +30,7 @@ This is designed to be as compact as possible.
 
          commit <sha1>
          Author: <author>
-         Date: <date>
+         Date: <author date>
 
              <title line>
 
@@ -50,9 +50,9 @@ This is designed to be as compact as possible.
 
          commit <sha1>
          Author: <author>
-         AuthorDate: <date & time>
+         AuthorDate: <author date>
          Commit: <committer>
-         CommitDate: <date & time>
+         CommitDate: <committer date>
 
               <title line>
 
@@ -62,7 +62,7 @@ This is designed to be as compact as possible.
 
          From <sha1> <date>
          From: <author>
-         Date: <date & time>
+         Date: <author date>
          Subject: [PATCH] <title line>
 
          <full commit message>