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

Re: warning: unable to rmdir my/module: Directory not empty

From
Jens Lehmann <jens.lehmann@web.de>
Date
Nov 4, 2010, 20:49 UTC
Message-ID
<4CD31C4D.9050301@web.de>
In-Reply-To
<AANLkTi=UpQTzfC39rqW48mqoL0J4Sj6=vA1cJtpfBABV@mail.gmail.com>
Am 04.11.2010 10:55, schrieb Mathieu Malaterre:
Show 7 quoted lines
>   Does anyone knows where is this warning is coming from:
> 
> warning: unable to rmdir my/module: Directory not empty
> 
>   I have a git master, an empty branch and a submodule on master.
> Switching from master to my 'empty' branch always trigger this
> warning. ...

This is because submodule deletion is not well supported at the moment. There has been a lot of discussion how to make git handle that better but no one implemented it so far. But it's on my ToDo list, so stay tuned ...

Previous: Mathieu Malaterre
Message 2 of 2 in “warning: unable to rmdir my/module: Directory not empty”
  1. Mathieu MalaterreNov 4, 2010
  2. Jens LehmannNov 4, 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.