Skip to content

Commit

Permalink
Documentation: be precise about which date --pretty uses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nikolaus Schulz authored and Junio C Hamano committed Jul 5, 2008
1 parent 78e3118 commit 2b2da68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/pretty-formats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This is designed to be as compact as possible.

commit <sha1>
Author: <author>
Date: <date>
Date: <author date>

<title line>

Expand All @@ -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>

Expand All @@ -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>
Expand Down

0 comments on commit 2b2da68

Please sign in to comment.