git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-svn: fix fetch with deleted tag

From
David D. Kilzer <ddkilzer@kilzer.net>
Date
Aug 14, 2010, 18:49 UTC
Message-ID
<84607.29034.qm@web30003.mail.mud.yahoo.com>
In-Reply-To
<AANLkTinpLUyQP=6XktduWAmSHg3CgcT3Y7cMJ9FQ4by_@mail.gmail.com>
On Sat, August 14, 2010 at 7:52:48 AM, Ævar Arnfjörð Bjarmason wrote:
Show 9 quoted lines
> On Sat, Aug 14, 2010 at 14:07, David D. Kilzer <ddkilzer@kilzer.net> wrote:
> >  +++ b/t/t9156-git-svn-fetch-deleted-tag-2.sh
> >  @@ -0,0 +1,45 @@
> > +#!/bin/sh
> > +
> > +test_description='git  svn fetch deleted tag 2'
> 
> Any reason not to include both of these in the  same file? Just to
> avoid having to manually reset the  repository?

It was easier to run the tests individually when working on them, and I was hesitant to combine the setup steps from each test since it wouldn't be as clear which steps were for which test in the future. I realize this may be slower when running the tests, but it makes them easier to maintain, especially when one hasn't looked at the tests in a while.

Is there a nice way to reset the repository between steps?
Thanks for the feedback!  I've already applied your other suggestions.
Dave
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 3 of 5 in “git-svn: fix fetch with deleted tag”
  1. git-svn: fix fetch with deleted tagDavid D. Kilzer, Aug 14, 2010
  2. Ævar Arnfjörð BjarmasonAug 14, 2010
  3. David D. KilzerAug 14, 2010
  4. Ævar Arnfjörð BjarmasonAug 14, 2010
  5. Eric WongAug 15, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.