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
Richard Hartmann <richih.mailinglist@gmail.com>
Date
Apr 9, 2011, 09:09 UTC
Message-ID
<BANLkTim5DPjGjJ=SfnNfXpzCd6=PKnSs6g@mail.gmail.com>
In-Reply-To
<20110409081108.GE13750@arachsys.com>
On Sat, Apr 9, 2011 at 10:11, Chris Webb <chris@arachsys.com> wrote:
> (Disclaimer: I've never tried using smudge filters; maybe they can't be used
> in the way I describe!)

Smudge filters are on my half-read list of New Cool Stuff so I can't really comment on this.

Another idea would be to simply tack all metadata into the same place as the existing chmod stuff.

While one large text file would be nice in case one wanted to make manual changes, attaching versioned, binary information to every object directly is a lot more efficient. I think I am convinced the latter would be the cleaner approach, now. With a clean layout, this would not need to be a huge code drop supporting every metadata type in existence; it could be extended as needed.

As noted above, .gitattributes could be used to manage what kind of metadata should be stored.

One large question in my mind is if anyone who's familiar enough with the codebase and has the time would be interested in actually implementing this.

Thanks, Richard

Previous: Chris WebbNext: Jonathan Nieder
Message 11 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.