git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dirk Süsserott" <newsletter@dirk.my1.cc>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Jeff King <peff@peff.net>, Junio C Hamano <gitster@pobox.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Q about the date format in "git commit --date=..." and such
Date: Tue, 08 Mar 2011 20:20:57 +0100	[thread overview]
Message-ID: <4D768199.80204@dirk.my1.cc> (raw)
In-Reply-To: <m2vcztqwcr.fsf@igel.home>

Am 08.03.2011 19:51 schrieb Andreas Schwab:
> Jeff King<peff@peff.net>  writes:
>
>> Why would you be resetting the date but _not_ taking ownership? Maybe
>> a reasonable situation for that exists, but I couldn't think of one.
>
> If you are already the author it's not so obvious that you have to reset
> authorship in order to reset the date.  Also, if you are the author, but
> under a different email you may not want to change that.
>
> Andreas.
>

Thank you, Peff and Andreas. Indeed I never tried --reset-author before 
but it works fine for my problem, as the authorship/email didn't change 
between the commits. However, I personally think --date=now should work 
everywhere but if you don't like it I will definitely not insist on it. :-)

In case I _really_ need it, I could use sth. like
--date=$(perl -e 'print localtime').

Dirk

      reply	other threads:[~2011-03-08 19:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 16:07 Q about the date format in "git commit --date=..." and such Dirk Süsserott
2011-03-07 16:54 ` Jeff King
2011-03-08  0:20   ` Junio C Hamano
2011-03-08  1:16     ` Jeff King
2011-03-08 18:51       ` Andreas Schwab
2011-03-08 19:20         ` Dirk Süsserott [this message]

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=4D768199.80204@dirk.my1.cc \
    --to=newsletter@dirk.my1.cc \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    --cc=schwab@linux-m68k.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).