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

Re: [PATCH 0/4] tests: use "git xyzzy" form

From
Jeff King <peff@peff.net>
Date
Sep 3, 2008, 20:59 UTC
Message-ID
<20080903205945.GA32413@coredump.intra.peff.net>
In-Reply-To
<7vwsht9cw5.fsf@gitster.siamese.dyndns.org>
On Wed, Sep 03, 2008 at 01:45:46PM -0700, Junio C Hamano wrote:
> Doing this _carefully_ (otherwise the result would be useless) must have
> been quite a lot of effort, and what was posted seems to have been done
> quite carefully.

Yes, thank you Nanako. After complaining about it to Junio, I expected I would have to be the one to do it. But procrastination pays off once again...

Show 5 quoted lines
> The cross-checking I did with "grep" in this message does *not* catch if
> you converted something that shouldn't have been converted (e.g. changing
> the pathname ".git/rebase-merge/git-rebase-todo" to "git rebase-todo"
> would have been a disaster).  It needs real eyeballing of the patches
> themselves to catch such an error, and we would need help from people.

When I did this the last time, I recall that most of the errors of that sort tended to make the test fail loudly. So that is a point in our favor. However, I agree that eyeballing is a good strategy here.

I just checked 1/4, which looks fine. Made much easier by the use of --color-words (even easier with -U0, but sometimes the context is helpful for seeing that it is correct).

In 2/4, we change some instances of git-upload-pack, which you otherwise mentioned in your "should be left". It's in t5530 and t5602. Otherwise looks fine.

-Peff
Previous: Junio C HamanoNext: Jeff King
Message 5 of 7 in “tests: use "git xyzzy" form”
  1. 0/4 tests: use "git xyzzy" formNanako Shiraishi, Sep 3, 2008
  2. Andreas EricssonSep 3, 2008
  3. Junio C HamanoSep 3, 2008
  4. Junio C HamanoSep 3, 2008
  5. Jeff KingSep 3, 2008
  6. Jeff KingSep 3, 2008
  7. Junio C HamanoSep 3, 2008

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.