From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: "Kristian Høgsberg" <krh@redhat.com>
Cc: gitster@pobox.com, git@vger.kernel.org
Subject: Re: [PATCH] t7501-commit.sh: Add test case for fixing author in amend commit.
Date: Mon, 5 Nov 2007 10:24:58 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.64.0711051020330.4362@racer.site> (raw)
In-Reply-To: <1194234165-9498-1-git-send-email-krh@redhat.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 713 bytes --]
Hi,
On Sun, 4 Nov 2007, Kristian Høgsberg wrote:
> +test_tick
>
> test_expect_success 'partial commit that involves removal (3)' '
We usually put the test_tick into the test case. IOW
test_expect_success 'message' '
test_tick &&
...
> '
>
> +oldtick=$GIT_AUTHOR_DATE
> +test_tick
> +
> +author="The Real Author <someguy@his.email.org>"
> +committer="$GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE"
> +
> +test_expect_success 'amend commit to fix author' '
Same here.
BTW: is this committer mangling really necessary? I thought only
GIT_COMMITTER_DATE was relevant. And that is easily replaced by
sed -e "s/^\(committer.* \)[0-9][0-9]*$/\1$GIT_COMMITTER_DATE/"
Ciao,
Dscho
next prev parent reply other threads:[~2007-11-05 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-05 3:42 [PATCH] t7501-commit.sh: Add test case for fixing author in amend commit Kristian Høgsberg
2007-11-05 10:24 ` Johannes Schindelin [this message]
2007-11-05 17:17 ` Kristian Høgsberg
2007-11-05 21:23 ` Junio C Hamano
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=Pine.LNX.4.64.0711051020330.4362@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=krh@redhat.com \
/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).