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

Re: [PATCH] tests: rename work-tree tests to *work-tree*

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 20, 2016, 21:42 UTC
Message-ID
<xmqqfuwn9hyp.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<2e74b7a8e3dd27ccd225b5278500f8a3e029d245.1455985042.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 16 quoted lines
> "Work tree" or "working tree" is the name of a checked out tree,
> "worktree" the name of the command which manages several working trees.
> The naming of tests mixes these two, currently:
>
> $ls t/*worktree*
> ...
> Rename t1501, t1509 and t7409 to make it clear on first glance that they
> test work tree related behavior, rather than the worktree command.
>
> t2104, t7011 and t7012 are about the "skip-worktree" flag so that their
> name should remain unchanged.
>
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> ---
> Just some housekeeping. Not super necessary, but should make it easier to find
> the right test to amend, for example.

That is rather unfortunate. Most of them predate the "worktree" subcommand, I think, and having to rename them merely because a subcommand with a confusing name appeared sound somewhat backwards.

Previous: Michael J GruberNext: Michael J Gruber
Message 2 of 4 in “tests: rename work-tree tests to *work-tree*”
  1. tests: rename work-tree tests to *work-tree*Michael J Gruber, Feb 20, 2016
  2. Junio C HamanoFeb 20, 2016
  3. Michael J GruberFeb 22, 2016
  4. Junio C HamanoFeb 22, 2016

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.