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

Re: Tracking file metadata in git -- fix metastore or enhance git?

From
Thorsten Glaser <tg@mirbsd.de>
Date
Apr 7, 2011, 19:27 UTC
Message-ID
<Pine.BSM.4.64L.1104071923580.4692@herc.mirbsd.org>
In-Reply-To
<BANLkTikkb3DUOtP9NUtNMNV5Z+oJ7AFHfg@mail.gmail.com>
Richard Hartmann dixit:
>git natively. metastore exists, but its binary storage format is

According to the documentation, metastore supports saving/restoring POSIX Extended Attributes (however I got EOPNOTSUPP trying to setfacl and setxattr, so I couldn’t verify the claim). It does *not* however track the stuff visible using lsattr(1) on ext2fs.

Personally, I think this should definitively be tracked in git, not in extra files (like “ EA DATA. SF” in OS/2) managed with external tools (reminds me too much of things like umsdos and Rock Ridge as well). Support needs not be part of core git, especially restoring can be dangerous (consider SELinux), plus it’s very platform and filesystem dependent, but seeing that people seem to want to use git for keeping their /etc (I use RCS, myself, but volunteered my C skill to change metastore if it needs be) there is definitively a market for having it there, in a standardised manner.

bye, //mirabilos

-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
Previous: Richard HartmannNext: Richard Hartmann
Message 2 of 19 in “Tracking file metadata in git -- fix metastore or enhance git?”
  1. Richard HartmannApr 7, 2011
  2. Thorsten GlaserApr 7, 2011
  3. Richard HartmannApr 8, 2011
  4. Michael J GruberApr 8, 2011
  5. Jonathan NiederApr 8, 2011
  6. Thorsten GlaserApr 8, 2011
  7. Jonathan NiederApr 8, 2011
  8. Thorsten GlaserApr 8, 2011
  9. Richard HartmannApr 8, 2011
  10. Chris WebbApr 9, 2011
  11. Richard HartmannApr 9, 2011
  12. Jonathan NiederApr 10, 2011
  13. Junio C HamanoApr 10, 2011
  14. Richard HartmannApr 10, 2011
  15. Richard HartmannApr 11, 2011
  16. Richard HartmannApr 18, 2011
  17. Jonathan NiederApr 18, 2011
  18. johnnyutahhDec 14, 2011
  19. Richard HartmannDec 20, 2011

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.