Skip to content

Commit 2b2da68

Browse files
Nikolaus Schulzgitster
authored andcommitted
Documentation: be precise about which date --pretty uses
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>
1 parent 78e3118 commit 2b2da68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/pretty-formats.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This is designed to be as compact as possible.
3030

3131
commit <sha1>
3232
Author: <author>
33-
Date: <date>
33+
Date: <author date>
3434

3535
<title line>
3636

@@ -50,9 +50,9 @@ This is designed to be as compact as possible.
5050

5151
commit <sha1>
5252
Author: <author>
53-
AuthorDate: <date & time>
53+
AuthorDate: <author date>
5454
Commit: <committer>
55-
CommitDate: <date & time>
55+
CommitDate: <committer date>
5656

5757
<title line>
5858

@@ -62,7 +62,7 @@ This is designed to be as compact as possible.
6262

6363
From <sha1> <date>
6464
From: <author>
65-
Date: <date & time>
65+
Date: <author date>
6666
Subject: [PATCH] <title line>
6767

6868
<full commit message>

0 commit comments

Comments
 (0)