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

Re: Empty Directories

From
Marcus Griep <neoeinstein@gmail.com>
Date
Aug 15, 2008, 21:42 UTC
Message-ID
<48A5F856.5050205@gmail.com>
In-Reply-To
<4b6f054f0808151420t59001ba3k2fecb19a73e5addb@mail.gmail.com>

Directly, no. An easy workaround is to drop an empty file (such as a .gitignore) into the directory and track that. Then the directory will come along for the ride.

Trans wrote:
Show 10 quoted lines
> New to git...
> 
> Is it true there is no way to track empty directories?
> 
> Thanks,
> T.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Marcus Griep
GPG Key ID: 0x5E968152
——
http://www.boohaunt.net
את.ψο´
Previous: TransNext: Miklos Vajna
Message 2 of 4 in “Empty Directories”
  1. TransAug 15, 2008
  2. Marcus GriepAug 15, 2008
  3. Miklos VajnaAug 15, 2008
  4. Paul FranzAug 16, 2008

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.