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

Re: [PATCH] git-status: Show empty directories

From
Leila <muhtasib@gmail.com>
Date
Jun 10, 2012, 18:17 UTC
Message-ID
<CAA3EhHJzyR1pWaEeDp_+xv8LaaxmJfVXi17pNtwW3dAD+9sbFw@mail.gmail.com>
In-Reply-To
<20120610201256.Horde.dB69JnwdC4BP1OOoePf1xjA@webmail.minatec.grenoble-inp.fr>
On Sun, Jun 10, 2012 at 2:12 PM,  <konglu@minatec.inpg.fr> wrote:
Show 19 quoted lines
>
> Leila <muhtasib@gmail.com> a écrit :
>
>
>> 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.
>

Yes, there are two issues. I'm advocating for the reminder when running 'git status'.

Sharing empty dirs with other team members is another issue. My implementation does not handle this case.

Thanks, Leila

Previous: konglu@minatec.inpg.frNext: Junio C Hamano
Message 14 of 17 in “git-status: Show empty directories”
  1. git-status: Show empty directoriesLeila Muhtasib, Jun 9, 2012
  2. konglu@minatec.inpg.frJun 9, 2012
  3. LeilaJun 9, 2012
  4. Thomas RastJun 9, 2012
  5. LeilaJun 9, 2012
  6. konglu@minatec.inpg.frJun 9, 2012
  7. Thomas RastJun 10, 2012
  8. konglu@minatec.inpg.frJun 10, 2012
  9. LeilaJun 10, 2012
  10. Junio C HamanoJun 11, 2012
  11. Junio C HamanoJun 10, 2012
  12. LeilaJun 10, 2012
  13. konglu@minatec.inpg.frJun 10, 2012
  14. LeilaJun 10, 2012
  15. Junio C HamanoJun 11, 2012
  16. LeilaJun 11, 2012
  17. LeilaJun 11, 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.