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

Re: [PATCHv5] submodule deinit: require '--all' instead of '.' for all submodules

From
Junio C Hamano <gitster@pobox.com>
Date
May 5, 2016, 20:54 UTC
Message-ID
<CAPc5daU5xLP9XghK=FfpubF96a-t+gqbg4YCBDdWc35Og8EUZA@mail.gmail.com>
In-Reply-To
<20160505203705.GB22726@google.com>
On Thu, May 5, 2016 at 1:37 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 12 quoted lines
> Stefan Beller wrote:
>
>>>        $ rungit v2.6.6 submodule deinit .
>>>        error: pathspec '.' did not match any file(s) known to git.
>>>        Did you forget to 'git add'?
> [...]
>> So instead of a pathspec add the '--all' option to deinit all submodules
>> and add a test to check for the corner case of an empty repository.
> [...]
>> Signed-off-by: Stefan Beller <sbeller@google.com>
>
> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks, both. Will queue.
Previous: Jonathan Nieder
Message 3 of 3 in “[PATCHv5] submodule deinit: require '--all' instead of '.' for all submodules”
  1. Stefan BellerMay 5, 2016
  2. Jonathan NiederMay 5, 2016
  3. Junio C HamanoMay 5, 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.