From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Tom Clarke <tom@u2i.com>
Cc: git@vger.kernel.org
Subject: Re: How to re-use setups in multiple tests?
Date: Mon, 1 Oct 2007 13:39:03 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0710011336530.28395@racer.site> (raw)
In-Reply-To: <550f9510710010516s305c843br53da294f65318862@mail.gmail.com>
Hi,
On Mon, 1 Oct 2007, Tom Clarke wrote:
> In this case the first test rebases the branch created in setup (it's
> testing the rebase merge strategy), the second test should do the same
> thing, except check there is a warning if a --message option is passed.
>
> I suppose I could find the old pre-rebase head and work with that, but
> that doesn't seem that clean to me.
You can use "git reset --hard master@{1}", and it really escapes me why
this should not be clean, and why you want to jump through hoops instead
using a much more complicated technique.
Ciao,
Dscho
next prev parent reply other threads:[~2007-10-01 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 10:27 How to re-use setups in multiple tests? Tom Clarke
2007-10-01 11:45 ` Johannes Schindelin
2007-10-01 12:16 ` Tom Clarke
2007-10-01 12:39 ` Johannes Schindelin [this message]
2007-10-01 12:46 ` Tom Clarke
2007-10-01 13:40 ` Karl Hasselström
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.0710011336530.28395@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=tom@u2i.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).