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

Re: [PATCH] git submodule add: Remove old docs about implicit -f

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jul 17, 2010, 16:26 UTC
Message-ID
<4C41D9A7.7000508@web.de>
In-Reply-To
<1279382025-24814-1-git-send-email-avarab@gmail.com>
Am 17.07.2010 17:53, schrieb Ævar Arnfjörð Bjarmason:
Show 5 quoted lines
> git submodule add no longer implicitly adds with --force. Remove
> references to the old functionality in the documentation.
> 
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
> ---
> This amended patch removes some obsolete documentation that you
> missed.
Yeah, thanks!
    Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Show 7 quoted lines
>> +               echo >&2 "The following path is ignored by one of your .gitignore files:" &&
>> +               echo >&2 $path &&
>> +               echo >&2 "Use -f if you really want to add it."
> 
> Is the "it" intentional? We currently say "them" in git add regardless
> of how many things are being added, so perhaps we should say "it"
> there too for singulars.

Yes, the "it" is intentional. While "git add" may be called with one or more files, "git submodule add" can only be called with one path. That's why I chose the singular form here.

Previous: Ævar Arnfjörð Bjarmason
Message 10 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.