diff options
author | Jeff King <peff@peff.net> | 2014-05-01 21:10:01 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-02 14:14:21 -0700 |
commit | b7242b8c9e4b3c57a07c2a76d0337389605aadcc (patch) | |
tree | 34772e47e05d428e7608ee04f5922ff56f4c1539 /Documentation/RelNotes/1.5.3.7.txt | |
parent | pretty: make show_ident_date public (diff) | |
download | tgif-b7242b8c9e4b3c57a07c2a76d0337389605aadcc.tar.xz |
commit: print "Date" line when the user has set date
When we make a commit and the author is not the same as the
committer (e.g., because you used "-c $commit" or
"--author=$somebody"), we print the author's name and email
in both the commit-message template and as part of the
commit summary. This is a safety check to give the user a
chance to confirm that we are doing what they expect.
This patch brings the same safety for the "date" field,
which may be set by "-c" or by using "--date". Note that we
explicitly do not set it for $GIT_AUTHOR_DATE, as it is
probably not of interest when "git commit" is being fed its
parameters by a script.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.5.3.7.txt')
0 files changed, 0 insertions, 0 deletions