threads / patch / 14297

patchDocumentation: be precise about which date --pretty uses

Subject: [PATCH] Documentation: be precise about which date --pretty uses

## tl;dr

One message between Jul 5, 2008 and Jul 5, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nikolaus Schulz· Jul 5, 2008, 00:00 UTC · lore
This makes it explicit that the --pretty formats 'medium' and 'email' use the
author date (and ignore the committer date).
---
 Documentation/pretty-formats.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
Show changes to Documentation/pretty-formats.txt +4 −4
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index ec37555..69e6d2f 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -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>
-- 
1.5.6

← back to recent threads