Re: [PATCH] git-status: Show empty directories
- From
- konglu@minatec.inpg.fr <konglu@minatec.inpg.fr>
- Date
- Jun 10, 2012, 18:12 UTC
- Message-ID
- <20120610201256.Horde.dB69JnwdC4BP1OOoePf1xjA@webmail.minatec.grenoble-inp.fr>
- In-Reply-To
- <CAA3EhHLWDtUeNB+RZA064Omwxh7SEYhSc53U0nuiSTNzioKnug@mail.gmail.com>
Leila <muhtasib@gmail.com> a écrit :
Show 8 quoted lines
> The question 'why are empty dirs special', is issue no 1, which I'm > also happy to discuss. The rule empty dirs can't be added in git is > unintuitive, as people use git to keep track of things - all things. > So it's not about an empty dir being special, it's about how people > use git to keep track of things. Now why might people want empty dirs > tracked? 1) People often setup dir structure in projects before adding > any code. They often want to save that state for themselves or to > share it with other team members.
Yup, that kind of situation is not unusual. Thus, having a reminder by running 'git status' would help. But sharing empty dir with other team members is another issue, no ? Even with your implementation, the user won't be able to share empty directories.
Thanks,
Lucien Kong