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

Re: git support for "xattrs" (extended filesystem attributes)?

From
Jeff King <peff@peff.net>
Date
Nov 26, 2024, 22:41 UTC
Message-ID
<20241126224124.GB77402@coredump.intra.peff.net>
In-Reply-To
<5b4c09a9-64bb-e672-e604-120563fc1ad6@das-werkstatt.com>
On Tue, Nov 26, 2024 at 08:40:32PM +0100, Peter B. wrote:
> I'm evaluating and testing extended attributes (xattrs) for professional
> archival collection use.
> I couldn't find any proper documentation/information on how (well) git
> supports including xattrs in version control.

As Junio noted, Git does not store most metadata at all (and most other version control systems are the same).

There are some third party tools to save the information in a separate file within the history and restore it on checkout. I haven't used them myself and some of them are quite old, so YMMV:

  - https://etckeeper.branchable.com/
  - https://github.com/przemoc/metastore
-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “git support for "xattrs" (extended filesystem attributes)?”
  1. Peter B.Nov 26, 2024
  2. Junio C HamanoNov 26, 2024
  3. Jeff KingNov 26, 2024
  4. Junio C HamanoNov 27, 2024
  5. brian m. carlsonNov 27, 2024
  6. Peter B.Nov 27, 2024
  7. Peter B.Nov 27, 2024

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.