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

Re: File archiver using git

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 27, 2006, 15:34 UTC
Message-ID
<ecse17$2q3$1@sea.gmane.org>
In-Reply-To
<Pine.LNX.4.63.0608271528130.8018@alpha.polcom.net>
Grzegorz Kulewski wrote:
Show 13 quoted lines
> On Sun, 27 Aug 2006, Matt McCutchen wrote:
>> Dear git people,
>>
>> You might like the two attached scripts that I wrote around git to
>> pack file trees containing lots of redundancy into very small
>> packages.  For example, if I have ten slightly different versions of a
>> piece of software because I didn't use version control, I can use
>> gitar to compress them together.
> 
> Does it (and GIT in general) work ok with file permisions, ownership, soft 
> and hard links, named sockets, device files and similar "strange" 
> filesystem objects? Do I need any options to GIT to make it work with 
> them?

Git in general only preserves executable bit, deals with symlinks, hardlinks after a fashion (stored once, but unpacked/checked out as separate files, not hardlinked), and does not deal with other "strange" filesystem objects as far as I know.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Grzegorz KulewskiNext: Matt McCutchen
Message 3 of 4 in “File archiver using git”
  1. Matt McCutchenAug 27, 2006
  2. Grzegorz KulewskiAug 27, 2006
  3. Jakub NarebskiAug 27, 2006
  4. Matt McCutchenAug 28, 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.