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

Re: [PATCH v3] Teach rm to remove submodules unless they contain a git directory

From
Jens Lehmann <jens.lehmann@web.de>
Date
Sep 12, 2012, 19:24 UTC
Message-ID
<5050E161.9080203@web.de>
In-Reply-To
<7vhar4gxdq.fsf@alter.siamese.dyndns.org>
Am 11.09.2012 21:41, schrieb Junio C Hamano:
> Lilewise.  It may make sense to introduce a helper function to tell
> if it is a submodule on our side by checking only the stage #2 entry
> when you see a nagetive pos returned from cache_name_pos() and call
> it "is_ours_submodule?()" or something.
Thanks, will do so.
Previous: Philip Oakley
Message 22 of 22 in “What's cooking in git.git (Sep 2012, #03; Mon, 10)”
  1. Junio C HamanoSep 10, 2012
  2. Teach rm to remove submodules unless they contain a git directoryJens Lehmann, Sep 11, 2012
  3. Junio C HamanoSep 11, 2012
  4. Suggestions for "What's cooking"Jens Lehmann, Sep 12, 2012
  5. Jeff KingSep 12, 2012
  6. Dan JohnsonSep 12, 2012
  7. Junio C HamanoSep 12, 2012
  8. Philip OakleySep 12, 2012
  9. Andrew ArdillSep 13, 2012
  10. Junio C HamanoSep 13, 2012
  11. Andrew ArdillSep 14, 2012
  12. Junio C HamanoSep 14, 2012
  13. Andrew ArdillSep 14, 2012
  14. Junio C HamanoSep 14, 2012
  15. Philip OakleySep 14, 2012
  16. Michael HaggertySep 13, 2012
  17. Philip OakleySep 13, 2012
  18. Junio C HamanoSep 13, 2012
  19. Junio C HamanoSep 14, 2012
  20. Michael HaggertySep 14, 2012
  21. Philip OakleySep 14, 2012
  22. Jens LehmannSep 12, 2012

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.