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

Re: cg-status and empty directories

From
JMJim MacBaine <jmacbaine@gmail.com>
Date
Feb 27, 2006, 18:39 UTC
Message-ID
<3afbacad0602271039v21a255adndb7a2cbd2992c67a@mail.gmail.com>
In-Reply-To
<44031941.1020806@op5.se>
On 2/27/06, Andreas Ericsson <ae@op5.se> wrote:
Show 7 quoted lines
> I'm afraid not.
>
> You should also note that git doesn't track permissions exactly. It just
> notices an execution bit and uses it to determine if it should write the
> working tree using (0666 ^ umask) or (0777 ^ umask). This makes it
> fairly unsuitable for /etc tracking unless you add some sort of
> permission restoring thing to it.

I'm aware of those limitations. It is not a backup mechanism at all and permissions are handled by a small perl script.

However, I'm just curious to know, why cg-status suddenly started to care about empty directories.

Regards, Jim

Previous: Andreas EricssonNext: Petr Baudis
Message 3 of 7 in “cg-status and empty directories”
  1. Jim MacBaineFeb 27, 2006
  2. Andreas EricssonFeb 27, 2006
  3. Jim MacBaineFeb 27, 2006
  4. Do not ever list empty directories in git-ls-files --othersPetr Baudis, Mar 26, 2006
  5. Optionally do not list empty directories in git-ls-files --othersPetr Baudis, Mar 26, 2006
  6. Junio C HamanoMar 26, 2006
  7. Petr BaudisMar 26, 2006

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.