From: Karl Hasselström Date: Mon, 01 Oct 2007 13:40:40 GMT Subject: Re: How to re-use setups in multiple tests? Message-ID: <20071001134040.GA4311@diana.vm.bytemark.co.uk> In-Reply-To: <550f9510710010546q55209759k4770cd3e78121cfc@mail.gmail.com> On 2007-10-01 14:46:46 +0200, Tom Clarke wrote: > On 10/1/07, Johannes Schindelin wrote: > > > > 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. > > That'll be because my git knowledge isn't good enough to make it > clean. Thanks for the suggestion :-) Another even more foolproof way would be to have the setup create a (lightweight) tag, and let each subtest reset to that tag. -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle