git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Savilonis <djs@n-cube.org>
To: git@vger.kernel.org
Subject: git format-patch from date never set
Date: Sat, 25 Jul 2009 17:39:27 -0400	[thread overview]
Message-ID: <325c62f60907251439n6f3f661dhf0e76a74ce1eaec8@mail.gmail.com> (raw)

git format-patch always sets the date in the From: line to the git
default date, e.g.

    From b9ff0ba6f3e228e1a8b67a25bc7be6b1da5ed1f3 Mon Sep 17 00:00:00 2001

The command uses GIT_COMMITTER_DATE as the date, but this env variable
is never set in cmd_format_patch(). Is this a bug or 'feature'?

--
Dan

             reply	other threads:[~2009-07-25 21:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-25 21:39 Dan Savilonis [this message]
2009-07-25 22:31 ` git format-patch from date never set Alex Riesen
2009-07-25 22:49   ` Dan Savilonis
2009-07-25 23:03     ` Junio C Hamano
2009-07-26  0:06       ` Dan Savilonis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=325c62f60907251439n6f3f661dhf0e76a74ce1eaec8@mail.gmail.com \
    --to=djs@n-cube.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).