threads / discuss / 15030

Empty Directories

Subject: Empty Directories

## tl;dr

4 messages between Aug 15, 2008 and Aug 16, 2008.

replies: 3people: 4as markdown or json

Marcus Griep· Aug 15, 2008, 21:42 UTC · re: Trans · lore

Re: Empty Directories

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
את.ψο´
Miklos Vajna· Aug 15, 2008, 21:46 UTC · re: Trans · lore

Re: Empty Directories

On Fri, Aug 15, 2008 at 05:20:01PM -0400, Trans <transfire@gmail.com> wrote:
> Is it true there is no way to track empty directories?
See the FAQ entry:
http://git.or.cz/gitwiki/GitFaq#head-1fbd4a018d45259c197b169e87dafce2a3c6b5f9
Paul Franz· Aug 16, 2008, 01:53 UTC · re: Trans · lore

Re: Empty Directories

T.,
    It is interesting that you post the same thing in the Mercurial and 
git mailing lists. Did you post it in Monotone and other distributed 
version control system mailing list?
Paul Franz
Trans wrote:
Show 12 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
>
>   
-- 
-------------------------------------------

There are seven sins in the world.
     Wealth without work.
     Pleasure without conscience.
     Knowledge without character.
     Commerce without morality.
     Science without humanity.
     Worship without sacrifice.
     Politics without principle.

   -- Mohandas Gandhi

-------------------------------------------

← back to recent threads