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

Re: [PATCH v3 0/3] dir: treat a repository without commits as a repository

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 10, 2019, 03:57 UTC
Message-ID
<xmqqv9zm1piq.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190409230737.26809-1-kyle@kyleam.com>
Kyle Meyer <kyle@kyleam.com> writes:
Show 7 quoted lines
> The series improves the handling of sub-repositories that don't have a
> commit checked out.  In particular, it addresses the following issues:
> ...
>   * Commit message tweaks.  These include replacing wording like "no
>     commits" with something like "no commit checked out" because,
>     technically, this series also concerns repositories that have
>     commit objects but are on an unborn branch.

Changes from "not have any commits" to "not have a commit checked out" can also be seen in the code (the next bullet point), which is a very welcome change. It shows that the patchset was done with nice attention to the detail.

Show 5 quoted lines
>   * Change the "git submodule add" error message to match the wording
>     of the new error message added in add_to_index().
>
>   * Consistently use "expect" rather than "expected" as the output
>     file name for expected test output.
Thanks; will replace.  Hopefully this round is ready for 'next'.
Previous: Kyle Meyer
Message 5 of 5 in “dir: treat a repository without commits as a repository”
  1. 0/3 dir: treat a repository without commits as a repositoryKyle Meyer, Apr 9, 2019
  2. 1/3 submodule: refuse to add repository with no commitsKyle Meyer, Apr 9, 2019
  3. 3/3 add: error appropriately on repository with no commitsKyle Meyer, Apr 9, 2019
  4. 2/3 dir: do not traverse repositories with no commitsKyle Meyer, Apr 9, 2019
  5. Junio C HamanoApr 10, 2019

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.