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

Re: [PATCH] git add: Add the "--ignore-missing" option for the dry run

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 12, 2010, 22:14 UTC
Message-ID
<7viq4k8i0e.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4C37A03E.7030801@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
Show 5 quoted lines
> With this patch it should be easy to have "git submodule add" return
> an error /before/ adding a submodule path and its contents when it
> is found in .gitignore.
>
> Opinions?
Sounds like a right thing to do.
Previous: Jens LehmannNext: Jens Lehmann
Message 7 of 10 in “git submodule: add submodules with git add -f <path>”
  1. git submodule: add submodules with git add -f <path>Ævar Arnfjörð Bjarmason, Jul 2, 2010
  2. git submodule: add submodules with git add -f <path>Ævar Arnfjörð Bjarmason, Jul 5, 2010
  3. Junio C HamanoJul 6, 2010
  4. Jens LehmannJul 6, 2010
  5. Ævar Arnfjörð BjarmasonJul 6, 2010
  6. git add: Add the "--ignore-missing" option for the dry runJens Lehmann, Jul 9, 2010
  7. Junio C HamanoJul 12, 2010
  8. git submodule add: Require the new --force option to add ignored pathsJens Lehmann, Jul 17, 2010
  9. git submodule add: Remove old docs about implicit -fÆvar Arnfjörð Bjarmason, Jul 17, 2010
  10. Jens LehmannJul 17, 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.